View source: R/calculate_power_curves.R
get_power_curve_output | R Documentation |
Gets the warnings and errors from 'calculate_power_curves()' output.
get_power_curve_output(power_curve)
power_curve |
The output from 'calculate_power_curves()' |
A list of data.frames containing warning/error information
#Generate sample
if(skpr:::run_documentation()) {
calculate_power_curves(trials=seq(50,150,by=20),
candidateset = expand.grid(x=c(-1,1),y=c(-1,1)),
model = ~.,
effectsize = list(c(0.5,0.9),c(0.6,0.9)),
eval_function = eval_design_mc,
eval_args = list(nsim = 100, glmfamily = "binomial"))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.