clean | R Documentation |
clean, a function to check data and inputs.
clean(
data,
ids,
dv,
time,
phase = NULL,
ivs = NULL,
fixed = NULL,
random = NULL,
formula = NULL,
correlation = NULL,
family = NO(),
dvs = NULL,
target_ivs = NULL,
standardize = list(dv = FALSE, iv = FALSE, byids = FALSE),
sortData = TRUE,
alignPhase = "none",
debugforeach = debugforeach
)
data |
See |
ids |
See |
dv |
See |
time |
See |
phase |
See |
ivs |
See |
fixed |
See |
random |
See |
formula |
See |
correlation |
See |
family |
See |
dvs |
See |
target_ivs |
See |
standardize |
Logical. Should all variables be standardized? Only applies
to |
alignPhase |
See |
Stephen Tueller stueller@rti.org
## Not run:
data <- clean(data=OvaryICT, ids='Mare', dv='follicles',
time='Time', phase='Phase')
# illustrate dropping cases with < 2 observations
data <- clean(data=OvaryICT[29:nrow(OvaryICT),], ids='Mare', dv='follicles',
time='Time', phase='Phase')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.