dr.M {dr}R Documentation

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

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.

Value

Returns a list with components

M The kernel matrix
slice.info Information about the slices, if used by the dr method.

...

Author(s)

Sanford Weisberg, sandy@stat.umn.edu

See Also

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

Examples

##---- 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")}

[Package dr version 2.0.3 Index]