Learn R Programming

experDesign (version 0.4.0)

evaluate_orig: Evaluate each variable provided

Description

Measure some summary statistics of the whole cohort of samples

Usage

evaluate_orig(pheno)

Value

A matrix with the mean, standard deviation, MAD values of the numeric variables, the entropy of the categorical, and the amount of NA per variable.

Arguments

pheno

Data.frame with information about the samples

See Also

Other functions to evaluate samples: evaluate_entropy(), evaluate_independence(), evaluate_index(), evaluate_mad(), evaluate_mean(), evaluate_na(), evaluate_sd()

Examples

Run this code
data(survey, package = "MASS")
evaluate_orig(survey[, c("Sex", "Age", "Smoke")])

Run the code above in your browser using DataLab