setDataSettings
[PKanalix] Set the value of one or several of the data settings associated to the non compartmental analysis
Set the value of one or several of the data settings associated to the non compartmental analysis. Associated settings names are:
"urinevolume" | (character) | regressor name used as urine volume. |
"datatype" | (list) | |
list("obsId" = character("plasma" or "urine"). The type of data associated with each obsId. Default "plasma". | "units" | (list) |
list with the units associated to "dose" ("fg", "pg","ng","ug","mg","g","pmol","nmol","umol","mmol", "mol", "IU", "mIU", "uIU", "Bq", "kBq", "MBq", "GBq", "mgEq", "ugEq", "ngEq" or "pgEq"), "time" ("s","min","h","d" or "w"), "volume" ("L", "dL" or "mL") and "grading" ("", "kg", "g", "mg", "m2", "mm2" or "cm2"). | "scalings" | (list) |
list with the scaling factor associated to "concentration", "dose", "time" and "urinevolume". | "enableunits" | (logical) |
Usage
setDataSettings(...)
Arguments
- ...
A collection of comma-separated pairs {settingName = settingValue}.
See also
Examples
if (FALSE) {
setDataSettings("datatype" = list("Y" ="plasma")) # set the settings whose name has been passed in argument
setDataSettings("units"=list(dose="ng",time="h",volume="mL", grading=""))
setDataSettings("scalings"=list(dose=0.001, time=24))
}