Learn R Programming

survivalsvm (version 0.0.5)

setMat.Kernel: Kernel

Description

Mutator of the field Mat of the object of class Kernel taken in an argument.

Usage

# S3 method for Kernel
setMat(kern, kernmat)

Value

[Kernel(1)] Object of class Kernel with elements:

Typetype of kernel,
Matkernel matrix,
Kernparparameters of kernel, when required,
bincatindex of binary/categorical variables, when required.

Arguments

kern

[Kernel(1)]
Object of class Kernel taken in the argument.

kernmat

[matrix(1)]
New kernel matrix.

Author

Cesaire J. K. Fouodo