Description Usage Arguments Details Examples
Update a study_parameters
-object with new settings
1 2 |
object |
An object created by |
... |
Any number of named arguments that should be updated |
Currently only the arguments used to construct the original object can be updated.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | p <- study_parameters(n1 = 11,
n2 = 10,
n3 = 3,
T_end = 10,
icc_pre_subject = 0.5,
icc_pre_cluster = 0,
var_ratio = 0.03,
icc_slope = 0.05,
cohend = -0.8)
p <- update(p, icc_slope = 0.1)
get_ICC_slope(p)
## Not run:
# Using a "new" argument does not work (yet)
update(p, sigma_cluster_slope = 2)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.