getLocFunc: Return the selected location function.

View source: R/ggbootMV-helper.R View source: R/ggbootMISC.R

getLocFuncR Documentation

Return the selected location function.

Description

Return the selected location function.

Based on locType, returns the measure of location desired.

Usage

getLocFunc(locType = "mean", .trim = trim)

getLocFunc(locType = "mean", .trim = trim)

Arguments

locType

character. Specifies measure of location to use. Options are mean, cmwed (column-wise median), oja, weisz (geometric median) and gmed (a fast version for the geometric median).

locType

character. Selects the location type to choose. Options are: mean (column-wise median), gmed (geometric median), wei (fast approximate geometric median), oja and cwmed (column-wise median). Default is mean.


MiguelRodo/ggboot documentation built on Nov. 9, 2023, 5:45 p.m.