powered by
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)
An scdf with the scaled values.
A single-case data frame. See scdf() to learn about this format.
scdf()
Names of variables to be standardized.
The target mean. If set NULL, it is not changed.
The target standard deviation. If set NULL, it is not changed.
Juergen Wilbert
Other data manipulation functions: add_l2(), as.data.frame.scdf(), as_scdf(), fill_missing(), moving_median(), outlier(), ranks(), scdf(), select_cases(), set_vars(), shift(), smooth_cases(), standardize(), truncate_phase()
add_l2()
as.data.frame.scdf()
as_scdf()
fill_missing()
moving_median()
outlier()
ranks()
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()
Run the code above in your browser using DataLab