kernlab (version 0.8-2)

as.kernelMatrix: Assing kernelMatrix class to matrix objects

Description

as.kernelMatrix in package in Package `kernlab' can be used to assing the kernelMatrix class to matrix objects representing a kernel matrix. This matrixes can then be used with the kernelMatrix interfaces which most of the functions in 'kernlab' support.

Usage

## S3 method for class 'matrix':
as.kernelMatrix(x)

Arguments

x
matrix to be assinged the kernelMatrix class

See Also

kernelMatrix, dots