getCPOAffect: Get the Selection Arguments for Affected CPOs

View source: R/properties.R

getCPOAffectR Documentation

Get the Selection Arguments for Affected CPOs

Description

Get the affect.* arguments from when the CPO was constructed. These are in one-to-one correspondence to the affect.* parameters given to the CPOConstructor, see the parameter documentation there.

Usage

getCPOAffect(cpo, drop.defaults = TRUE)

Arguments

cpo

[CPO]
The cpo.

drop.defaults

[logical(1)]
Whether to only return the arguments that deviate from the default. Default is TRUE.

Value

[list]. A named list of the affect.* arguments given to the CPOConstructor. The names are stripped of the “affect.”-prefix.

See Also

Other getters and setters: CPO, getCPOClass(), getCPOConstructor(), getCPOId(), getCPOName(), getCPOOperatingType(), getCPOPredictType(), getCPOProperties(), getCPOTrainedCPO(), getCPOTrainedCapability(), setCPOId()


mlr-org/mlrCPO documentation built on Nov. 18, 2022, 11:25 p.m.