variableStatistics | R Documentation |
A function that does various statistics on missingness per variables
variableStatistics( data, correlation_method = "pearson", gof_method = "kolmogorov" )
data |
A data frame (rows as samples, columns as variables) |
correlation_method |
the method to compute correlations 'pearson' (default), 'spearman', 'kendall' |
gof_method |
the method to compute goodness of fit with left-censored data 'kolmogorov' (default), 'cucconi' |
result A list containing [[1]] a matrix of: percent missingness, quartile cutoffs, mean, missingness type, variance, distribution for each variable; [[2]] a matrix containing missingness percents by missingness type and [[3]] the overall missingness percentage
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.