View source: R/get.critical.results.GxE.R
get.critical.results.GxE | R Documentation |
Gets the number of cases and controls or subjects and the empirical and theoretical power under each model and prints a summary on the screen
get.critical.results.GxE(
scenario = NULL,
pheno.model = NULL,
geno.model = NULL,
env.model = NULL,
empirical.power = NULL
)
scenario |
Scenario number |
pheno.model |
Type of the outcome; 0 for binary and 2 for continuous |
geno.model |
Genetic model; 0 for binary and 1 for additive |
env.model |
Model of the enviromental explosure |
empirical.power |
Estimated empirical power |
sample.sizes.required |
Number of cases and controls or number of subjects required to achieve the desired power |
A table containing the following items:
genetic.model
Model of the genetic determinant
environment.model
Model of the environmental determinant
number.of.subjects.required
Number of subjects required to achieve the desired power under a quantitative outcome model
empirical.power
Estimated empirical power under each model
Gaye A.; Westerman K.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.