Skip to contents

Companion function to 'power_interaction_r2_covs()'. Generates a formatted list for users to specify the analysis parameters.

Usage

generate.interaction.cov.input(c.num)

Arguments

c.num

Number of covariates in the model.

Value

A list to be used with the 'power_interaction_r2_covs()' function.

Examples

ex1 = generate.interaction.cov.input(c.num=2)
ex1$correlations$r.y.x1x2 = c(0.1,0.2,0.3)