Linear: Linear kernel

Description Usage Arguments Value Examples

View source: R/kernFunct.R

Description

Linear kernel

Usage

1
Linear(data, cos.norm = TRUE)

Arguments

data

A matrix or data.frame with real numbers

cos.norm

If TRUE the cosine normalization is applied

Value

The linear kernel matrix

Examples

1
2
example <- matrix(rnorm(12),nrow=4,ncol=3)
kmatrix <- Linear(data=example)

Yuliaxis/kernInt documentation built on Feb. 20, 2022, 12:38 a.m.