Learn R Programming

invivoPKfit (version 2.0.1)

settings_preprocess: Data preprocessing settings

Description

Data preprocessing settings

Usage

settings_preprocess(
  routes_keep = c("oral", "iv"),
  media_keep = c("blood", "plasma"),
  ratio_conc_dose = 1,
  impute_loq = TRUE,
  loq_group = dplyr::vars(Chemical, Species, Reference, Media),
  calc_loq_factor = 0.9,
  impute_sd = TRUE,
  sd_group = dplyr::vars(Chemical, Species, Reference, Media),
  suppress.messages = FALSE,
  ...
)

Value

An object of class `pk_settings_preprocess`. This is a named list of the arguments provided to this function and their values.

Arguments

routes_keep

Character: A list of routes to keep. Data will be filtered so that the harmonized variable `Route` includes only values in `routes_keep`. Default is `c("oral", "iv")`.

media_keep

Character: A list of media to keep. Data will be filtered so that the harmonized variable name `Media` includes only values in `media_keep`. Default is `c("blood", "plasma")`.

ratio_conc_dose

Numeric: The ratio of mass units of observed concentrations to mass units of applied doses. Default 1, to indicate the same mass units are used for both.

impute_loq

TRUE or FALSE: Whether to impute missing LOQ values.

loq_group

A list of variables, specified using a call to [dplyr::vars()]. These should be harmonized variable names. Unique combinations of these variables define groups of data. Within each group, any missing LOQ values will be imputed as the minimum detected Value in the group, multiplied by `calc_loq_factor`. Default is `dplyr::vars(Chemical, Species, Reference, Media)`.

calc_loq_factor

A numeric factor used for imputing missing LOQ. Within each group defined in `loq_group`, any missing LOQ values will be imputed as the minimum detected Value in the group, multiplied by `calc_loq_factor`. Default 0.9.

impute_sd

TRUE or FALSE: Whether to impute missing SD values.

sd_group

A list of variables, specified using a call to [dplyr::vars()]. These should be harmonized variable names. Unique combinations of these variables define groups of data. Within each group, any missing SD values will be imputed as the minimum non-missing SD value in the group. Default is `dplyr::vars(Chemical, Species, Reference, Media)`.

suppress.messages

TRUE or FALSE: Whether to suppress verbose messages. Default FALSE.

...

Any additional arguments. Currently ignored.

Author

Caroline Ring