Learn R Programming

SVMMaj (version 0.2.9.3)

predict.transDat: Perform the transformation based on predefined settings

Description

Given the input parameters, which are generated from transformdata, it performs the same transformation with the same settings to the given input

Usage

# S3 method for transDat
predict(
  x,
  attrib = NULL,
  values = NULL,
  standardization = NULL,
  splineInterval = NULL,
  splineDegree = NULL
)

Value

a transformed data based on the user defined settings

Arguments

x

a (new) vector of numerics to be transformed

attrib

either a list of settings, or NULL in case the attributes are given as separate input

values

a vector of levels in case x is a factor

standardization

the standardization rules from normalize

splineInterval

the knots to be used for spline basis

splineDegree

the polynomial degree of the splines