Makes design illustration by plotting simulated data based on the design
# S3 method for emc.design
plot(
x,
p_vector,
data = NULL,
factors = NULL,
plot_factor = NULL,
n_data_sim = 10,
functions = NULL,
...
)
No return value, called for side effect of plotting
An object of class emc.design
containing the design to plot
A named vector of parameter values to use for data generation
Optional data frame to overlay on the design plot. If NULL, data will be simulated.
Character vector. Factors to use for varying parameters in the plot
Optional character. Make separate plots for each level of this factor
Integer. If data is NULL, number of simulated datasets to generate for the plot. Default is 10.
Optional named list of functions that create additional columns in the data
Additional arguments passed to make_design_plot