powered by
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)
A list to be used with the 'power_interaction_r2_covs()' function.
Number of covariates in the model.
ex1 = generate.interaction.cov.input(c.num=2) ex1$correlations$r.y.x1x2 = c(0.1,0.2,0.3)
Run the code above in your browser using DataLab