Description Usage Arguments Value See Also Examples
Shifting the values might be helpful in cases where the measurement time is given as a time variable (see example below).
1 |
data |
A single-case data frame. See |
value |
Number by which to shift the values |
var |
Character string with the name of the target variable. Defaults to the measurement time variable. |
A scdf with shifted data
Other data manipulation functions:
fillmissingSC()
,
longSCDF()
,
outlierSC()
,
rankSC()
,
scaleSC()
,
smoothSC()
,
truncateSC()
1 2 3 | ### Shift the measurement time for a better estimation of the intercept
ex <- shiftSC(example_A24, value = -1996)
plm(ex)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.