evaluate_mad | R Documentation |
Looks for the median absolute deviation values in each subgroup.
evaluate_mad(i, pheno)
i |
List of indices |
pheno |
Data.frame with information about the samples |
A vector with the mean difference between the median absolute deviation of each group and the original mad.
Other functions to evaluate samples:
evaluate_entropy()
,
evaluate_independence()
,
evaluate_index()
,
evaluate_mean()
,
evaluate_na()
,
evaluate_orig()
,
evaluate_sd()
Other functions to evaluate numbers:
evaluate_mean()
,
evaluate_na()
,
evaluate_sd()
data(survey, package = "MASS")
index <- design(survey[, c("Sex", "Smoke", "Age")], size_subset = 50,
iterations = 10)
# Note that categorical columns will be omitted:
evaluate_mad(index, survey[, c("Sex", "Smoke", "Age")])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.