Pwr | R Documentation |
This function is generic; method functions can be written to handle specific classes of objects.
Pwr(object, ...)
object |
an object containing the results returned by a model fitting function (e.g., |
... |
some methods for this generic function may require additional arguments. |
numeric scalar value.
Andrzej Galecki and Tomasz Burzykowski
Pwr.lme
data("grwth_data")
lmm <- lmmModel(data = grwth_data,
sample_id = "subject",
time = "Time",
treatment = "Treatment",
tumor_vol = "TumorVolume",
trt_control = "Control",
drug_a = "DrugA",
drug_b = "DrugB",
combination = "Combination")
Pwr(lmm,
L = c("Time:TreatmentControl" = 1,
"Time:TreatmentDrugA" = -1,
"Time:TreatmentDrugB" = -1,
"Time:TreatmentCombination" = 1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.