Description Usage Arguments Value Examples
View source: R/deprecated_estimateSC.R
This functions takes an scdf an extracts design parameters. The resulting in object can be unsed to randomly create new scdf files with the same underlying parameters. This might be usefull for monte-carlo studies and bootstrapping procedures.
1 | estimateSC(data, dvar, pvar, mvar, s = NULL, rtt = NULL, model = "JW", ...)
|
data |
A single-case data frame. See |
dvar |
Character string with the name of the dependent variable. Defaults to the attributes in the scdf file. |
pvar |
Character string with the name of the phase variable. Defaults to the attributes in the scdf file. |
mvar |
Character string with the name of the measurement time variable. Defaults to the attributes in the scdf file. |
s |
The standard deviation depcting the between case variance of the overall performance. If more than two single-cases are included in the scdf, the variance is estimated if s is set to NULL. |
rtt |
The reliability of the measurements. The reliability is estimated when rtt = NULL. |
model |
Model used for calculating the slope parameter (see Huitema &
McKean, 2000). Default is |
... |
Further arguments passed to the lm function. |
A list of parameters for each single-case. Parameters include name, length, and starting measurementtime of each phase, trend level, and slope effects for each phase, mean, standarddeviation, and reliability for each case.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.