Measure some summary statistics of the whole cohort of samples

evaluate_orig(pheno)

Arguments

pheno

Data.frame with information about the samples

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.

See also

Examples

data(survey, package = "MASS") evaluate_orig(survey[, c("Sex", "Age", "Smoke")])
#> Sex Age Smoke #> mean 0 20.374515 0.0000000 #> sd 0 6.474335 0.0000000 #> mad 0 1.605656 0.0000000 #> na 1 0.000000 1.0000000 #> entropy 1 0.000000 0.5143828