Learn R Programming

dr (version 2.0.4)

dr.M: ~~function to do ... ~~

Description

Compute the kernel matrix for a dr method

Usage

dr.M(object, ...)

Arguments

object
An object of type 'dr'.
...
Additional method-specific arguments; see description below

Value

  • Returns a list with components
  • MThe kernel matrix
  • slice.infoInformation about the slices, if used by the dr method.
  • ...

Details

This is a method-specific function to compute the kernel matrix M of a dimension reduction method. For sir, save, msir and save, the additional arguements are 'nslices', the number of slices to be used, and 'slice.info', which if present is the a list produced by dr.slices. For ols and the phd methods, no additional arguments are required. New dimension reduction methods can be added to 'dr' by writing a new 'dr.M' method.

See Also

~~objects to See Also as dr, ~~~

Examples

Run this code
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--    or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function(object, ...){UseMethod("dr.M")}

Run the code above in your browser using DataLab