Complete not quantified values
complete_data.Rdcomplete_data() completes missing values related to the limits of
quantification or detection.
Usage
complete_data(
dat,
LOD_method = NULL,
LLOQ_method = NULL,
ULOQ_method = NULL,
LOD_type = "calc"
)Arguments
- dat
a
raw_dataobject. Output ofread_data()function.- LOD_method
a character string specifying the imputation method to be applied to
< LODvalues, orNULLto change these values toNA. Available methods are:halfmin,random,halflimit,limit,limit-0.2minandlogspline.- LLOQ_method
a character string specifying the imputation method to be applied to
< LLOQvalues, orNULLif these values should not be imputed. Currently, the only available method is:limit.- ULOQ_method
a character string specifying the imputation method to be applied to
> ULOQvalues, orNULLif these values should not be imputed. Available methods are:limit,third quartileandscaled random.- LOD_type
a character string specifying which LOD type to use for imputing values. Possible values are
"OP"and"calc".
Examples
path <- get_example_data("small_biocrates_example.xls")
dat <- read_data(path)
dat <- complete_data(dat)
#> Skipping < LOD imputation.
#> Skipping < LLOQ imputation.
#> Skipping > ULOQ imputation.