update.plcp | R Documentation |
study_parameters
-object with new settingsUpdate a study_parameters
-object with new settings
## S3 method for class 'plcp'
update(object, ...)
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.
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.