lnormimp | R Documentation |
Truncated lognormal distribution imputation. (Herbers et al. 2020)
lnormimp(data, censn, cutoff, range = c(0, Inf), as_list = FALSE)
data |
Numeric data vector |
censn |
Number of lower and upper censored values: 'c(lower, upper)' |
cutoff |
Lower and upper cutoff limits: 'c(lower, upper)' |
range |
Lower and upper measurement range: 'c(lower, upper)' |
as_list |
When set to 'TRUE', results will be returned as a list and separated into original 'data', imputed lower values 'imp_lower', and imputed upper values 'imp_upper' |
'data' vector with imputed values appended. If 'as_list' is set to 'TRUE' results will be returned as a list and separated into original 'data', imputed lower values 'imp_lower', and imputed upper values 'imp_upper'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.