View source: R/power_interaction_r2_covs.R
generate.interaction.cov.input | R Documentation |
power_interaction_r2_covs()
Companion function to 'power_interaction_r2_covs()'. Generates a formatted list for users to specify the analysis parameters.
generate.interaction.cov.input(c.num)
c.num |
Number of covariates in the model. |
A list to be used with the 'power_interaction_r2_covs()' function.
ex1 = generate.interaction.cov.input(c.num=2)
ex1$correlations$r.y.x1x2 = c(0.1,0.2,0.3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.