plot.ph2rand_terminal plots the terminal points of a design returned by terminal.

# S3 method for ph2rand_terminal
plot(x, output = FALSE, ...)

Arguments

x

An object of class ph2rand_terminal, as returned by terminal.

output

A logical variable indicating whether outputs should be returned by the function.

...

Not currently used.

Value

If output = TRUE, a list containing each of the input parameters along with plot(s) in the slot $plots, which gives the produced plot(s) of the terminal points.

See also

Examples

# The default two-stage design des <- des_two_stage() # Its terminal points across stages 1 and 2 term <- terminal(des) # The plot of them plot(term)
#> NULL
# Its terminal points from stage 2 only term <- terminal(des, 2) # The plot of them plot(term)
#> NULL