Description Usage Arguments Value Examples
View source: R/hmi_smallfunctions_2018-05-09.R View source: R/hmi_smallfunctions_2018-04-30.R View source: R/hmi_smallfunctions_2018-02-28.R View source: R/hmi_smallfunctions_2018-01-31.R View source: R/hmi_smallfunctions_2018-01-26.R View source: R/hmi_smallfunctions_2018-01-21.R View source: R/hmi_smallfunctions_2017-12-28.R View source: R/hmi_smallfunctions_2017-12-20.R View source: R/hmi_smallfunctions_2017-11-14.R View source: R/hmi_smallfunctions_2017-09-14.R View source: R/hmi_smallfunctions_2017-09-01.R View source: R/hmi_smallfunctions_2017-02-21.R View source: R/hmi_smallfunctions_2017-02-05.R View source: R/hmi_smallfunctions_2017-01-13.R View source: R/hmi_smallfunctions_2017-01-05.R View source: R/hmi_smallfunctions_2016-12-22_01.R View source: R/hmi_smallfunctions_2016-12-14_04.R View source: R/hmi_smallfunctions_2016-12-14_03.R View source: R/hmi_smallfunctions_2016-12-09_01.R View source: R/hmi_smallfunctions_2016-12-08_01.R View source: R/hmi_smallfunctions_2016-08-02.R View source: R/hmi_smallfunctions_2016-07-21.R View source: R/hmi_smallfunctions_2016-07-14.R View source: R/hmi_smallfunctions.R
Function to sample values in a variable from other (observed) values in this variable. So this imputation doesn't use further covariates.
Function to sample values in a variable from other (observed) values in this variable. So this imputation doesn't use further covariates.
1 2 3 | sample_imp(variable)
sample_imp(variable)
|
variable |
A vector of size |
variable |
A vector of size |
A vector of size n
without missing values.
A vector of size n
without missing values.
1 2 | sample_imp(c(1, NA, 3, NA, 5))
sample_imp(c(1, NA, 3, NA, 5))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.