View source: R/dthelper-handling-missing-data.R
estimate.listwise.deletion | R Documentation |
Estimate number of missingness caused by listwise deletion
estimate.listwise.deletion( df, var = colnames(df), dp = 2, return.num = FALSE, return.perc = FALSE, print.text = TRUE )
df |
data.frame object |
var |
Input column names (defaults to using all columns in df) |
dp |
Number of decimal places for percentage |
return.num |
If set to TRUE, returns number of missing cases |
return.perc |
If set to TRUE, returns percentage of missing cases |
print.text |
If set to FALSE, missing cases are not printed |
Default none. When return.num or return.perc equals TRUE, numeric object is returned
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.