evaluate_mean: Evaluates the mean of the numeric values

View source: R/evaluate_num.R

evaluate_meanR Documentation

Evaluates the mean of the numeric values

Description

Looks for the mean of the numeric values

Usage

evaluate_mean(i, pheno)

Arguments

i

List of indices

pheno

Data.frame with information about the samples

Value

A matrix with the mean value for each column for each subset

See Also

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

Other functions to evaluate numbers: evaluate_mad(), evaluate_na(), evaluate_sd()

Examples

data(survey, package = "MASS")
index <- design(survey[, c("Sex", "Smoke", "Age")], size_subset = 50,
                iterations = 10)
# Note that categorical columns will be omitted:
evaluate_mean(index, survey[, c("Sex", "Smoke", "Age")])

llrs/experDesign documentation built on Dec. 24, 2024, 8:22 a.m.