| rescale | R Documentation |
This function scales the measured values of an scdf file. It allows for mean centering and standardization across all cases included in an scdf.
rescale(data, ..., m = 0, sd = 1)
data |
A single-case data frame. See |
... |
Names of variables to be standardized. |
m |
The target mean. If set NULL, it is not changed. |
sd |
The target standard deviation. If set NULL, it is not changed. |
An scdf with the scaled values.
Juergen Wilbert
Other data manipulation functions:
add_l2(),
as.data.frame.scdf(),
as_scdf(),
fill_missing(),
moving_median(),
print.sc_outlier(),
ranks(),
scdf(),
select_cases(),
set_vars(),
shift(),
smooth_cases(),
standardize(),
truncate_phase()
## Standardize a multiple case scdf and compute an hplm
exampleAB_50 |>
rescale(values, mt) |>
hplm()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.