Description Usage Arguments Value
Returns original dt with an additional column with normalized quantity. Normalisation is based on part of the trajectory.
1 2 3 |
in.dt |
data.table, contain a column for: time, measurement(, grouping columns like object label) |
in.meas.col |
character, name of column to be normalised. |
in.rt.col |
character, name of the column with time (or index) |
in.rt.min |
numeric, start time of normalization period. |
in.rt.max |
numeric, end time of normalization period. |
in.by.cols |
character vector with 'by' columns to calculate normalisation per group if NULL, no grouping is done |
in.robust |
logical, whether robust measures should be used (median instead of mean, mad instead of sd). |
in.type |
type of normalization: 'z.score' or 'mean' (fi.e. old change w.r.t. mean) |
A data.table with an additional column with normalized quantity. The name of additional column is the same as in.meas.col but with ".norm" suffix added.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.