setMat.Kernel: 'Kernel'

View source: R/kernels.R

setMat.KernelR Documentation

Kernel

Description

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

Usage

## S3 method for class 'Kernel'
setMat(obj, mat)

Arguments

obj

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

mat

[matrix(1)]
New kernel matrix.

Value

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

Type type of kernel,
Mat kernel matrix,
Kernpar parameters of kernel, when required,
bincat index of binary/categorical variables, when required.

Author(s)

Cesaire J. K. Fouodo


imbs-hl/survivalsvm documentation built on June 14, 2025, 9:22 a.m.