print.skpr_power_curve_output | R Documentation |
Prints design evaluation information below the data.frame of power values
Note: If options("skpr.ANSI") is 'NULL' or 'TRUE', ANSI codes will be used during printing to prettify the output. If this is 'FALSE', only ASCII will be used.
## S3 method for class 'skpr_power_curve_output'
print(x, ...)
x |
The x of the evaluation functions in skpr |
... |
Additional arguments. |
#Generate/evaluate a design and print its information
factorialcoffee = expand.grid(cost = c(1, 2),
type = as.factor(c("Kona",
"Colombian",
"Ethiopian",
"Sumatra")),
size = as.factor(c("Short",
"Grande",
"Venti")))
coffee_curves = calculate_power_curves(candidateset = factorialcoffee,
model = ~(cost + size + type)^2,
trials = 30:40, plot_results = FALSE)
coffee_curves
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.