as.kernelMatrix {kernlab} | R Documentation

## 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

    ## S4 method for signature 'matrix':
    as.kernelMatrix(x)

### Arguments

`x` | matrix to be assinged the `kernelMatrix` class

### Author(s)

Alexandros Karatzoglou
alexandros.karatzoglou@ci.tuwien.ac.at

### See Also

`kernelMatrix`, `dots`

### Examples

[Package kernlab version 0.8-1 Index]