imputeBLOQ {BLOQ}R Documentation

impute BLOQ's with various methods


function to impute BLOQ's. The user can define column-specific methods to impute the BLOQ's.


imputeBLOQ(inputData, LOQ, imputationMethod, progressPrint = FALSE, ...)



numeric matrix or data frame of the size n by J (n the sample size and J the number of time points) the input dataset


scalar, limit of quantification value


could be a single string or a vector of strings with the same length as the number of time points (ncol(inputData)). If it is left blank, then the imputation is done using kernel density estimation method for the columns with at least one non-BLOQ component. For all the rest (only BLOQ) the constant imputation is used. The allowed values are "constant", "ros", "kernel", "cml" corresponding to constant imputation, imputing using regression on order statistics, imputing using kernel density estimator, and imputing using censored maximum likelihood, respectively.


logical variable indicating whether the imputation progress should be printed or not.


any other argument which should be changed according to the input arguments regarding the functions corresponding to different imputation methods.


a list with two components: imputed dataset, and the methods used to impute each column.


Vahid Nassiri, Helen Yvette Barnett


inputData <- simulateBealModelFixedEffects(10, 0.693,1, 1, seq(0.5,3,0.5))
LOQ = 0.125
imputeBLOQ(inputData, LOQ, 
		imputationMethod = c("cml", "ros", "kernel","constant", "constant", "constant"), 
		maxIter = 500, isMultiplicative = TRUE, constantValue = LOQ)
imputeBLOQ(inputData, LOQ, maxIter = 500, isMultiplicative = TRUE, 
constantValue = LOQ/5, epsilon = 1e-04)

[Package BLOQ version 0.1-1 Index]