type2Exten: Convert Method Type to Tree Extension

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/utils.R

Description

Convert Method Type to Tree Extension.

Usage

1
type2Exten(type, datatype)

Arguments

type

method type.

datatype

data type.

Details

For every datatype different methods, i.e. algorithms exist which can be applied. Valid datatypes are ‘preprocess’ and ‘normation’.

For datatype ‘preprocess’ the following methods can be applied:

mean: trimmed mean
median: median
quantile: quantile
tukeybiweight: tukey biweight
medianpolish: median polish

For datatype ‘normation’ the following methods can be applied:

mean: trimmed mean
median: median
quantile: quantile
lowess: lowess
supsmu: supsmu

The tree extensions are described in validTreetype.

Value

A character with the correct tree extension.

Author(s)

Christian Stratowa

See Also

getDatatype, validTreetype

Examples

1
2
3
type2Exten("quantile","preprocess")
type2Exten("medianpolish","preprocess")
type2Exten("supsmu","normation")

xps documentation built on Nov. 8, 2020, 6 p.m.