dosescalett {tukeytrend} | R Documentation |
Rescaling dose variables acc. to Tukey et al. (1985)
Description
Add rescaled dose variables to a data.frame.
Usage
dosescalett(data, dose,
scaling = c("ari", "ord", "log", "arilog"),
sep = "", d0shift = 1)
Arguments
data |
a data.frame |
dose |
a single charcater string, naming the (numeric) variable in |
scaling |
A vector of character strings, naming the options for rescaling the variable specified in |
sep |
an optional separator for the names of the rescaled variables |
d0shift |
an optional factor, that is multiplied with the interpolated dose score for |
Value
A list containing
data |
the input data.frame, with rescaled variables added as colummns |
transnam |
a vector of names of the re-scaled variables |
scaling |
the scaling options, as input |