Learn R Programming

kernlab (version 0.9-33)

kcca-class: Class "kcca"

Description

The "kcca" class

Arguments

Objects from the Class

Objects can be created by calls of the form new("kcca", ...). or by the calling the kcca function.

Slots

kcor:

Object of class "vector" describing the correlations

xcoef:

Object of class "matrix" estimated coefficients for the x variables

ycoef:

Object of class "matrix" estimated coefficients for the y variables

%% \item{\code{xvar}:}{Object of class \code{"matrix"} holds the %% canonical variates for \code{x}} %% \item{\code{yvar}:}{Object of class \code{"matrix"} holds the %% canonical variates for \code{y}}

Methods

kcor

signature(object = "kcca"): returns the correlations

xcoef

signature(object = "kcca"): returns the estimated coefficients for the x variables

ycoef

signature(object = "kcca"): returns the estimated coefficients for the y variables

%% \item{xvar}{\code{signature(object = "kcca")}: returns the canonical %% variates for \code{x}} %% \item{yvar}{\code{signature(object = "kcca")}: returns the canonical %% variates for \code{y}}

Author

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

See Also

kcca, kpca-class

Examples

Run this code

## dummy data
x <- matrix(rnorm(30),15)
y <- matrix(rnorm(30),15)

kcca(x,y,ncomps=2)

Run the code above in your browser using DataLab