| plot_fds | R Documentation |
Creates a fraction of design space plot
plot_fds(
skpr_output,
model = NULL,
continuouslength = 1001,
plot = TRUE,
sample_size = 10000,
yaxis_max = NULL,
moment_sample_density = 10,
description = "Fraction of Design Space",
candidate_set = NA,
high_resolution_candidate_set = NA
)
skpr_output |
The design, or the output of the power evaluation functions. This can also be a list of several designs, which will result in all of them being plotted in a row (for easy comparison). |
model |
Default |
continuouslength |
Default |
plot |
Default |
sample_size |
Default |
yaxis_max |
Default |
moment_sample_density |
Default |
description |
Default |
candidate_set |
Default |
high_resolution_candidate_set |
Default |
Plots design diagnostics, and invisibly returns the vector of values representing the fraction of design space plot. If multiple designs are passed, this will return a list of all FDS vectors.
#We can pass either the output of gen_design or eval_design to plot_correlations
#in order to obtain the correlation map. Passing the output of eval_design is useful
#if you want to plot the correlation map from an externally generated design.
#First generate the design:
candidate_set = expand.grid(X1 = c(1, -1), X2 = c(1, -1))
design = gen_design(candidate_set, ~(X1 + X2), 15)
plot_fds(design)
#We can also feed evaluation output
power = eval_design(design)
plot_fds(power)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.