dr.M {dr} | R Documentation |
Compute the kernel matrix for a dr method
dr.M(object, ...)
object |
An object of type 'dr'. |
... |
Additional method-specific arguments; see description below |
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.
Returns a list with components
M |
The kernel matrix |
slice.info |
Information about the slices, if used by the dr method. |
...
Sanford Weisberg, sandy@stat.umn.edu
~~objects to See Also as dr
, ~~~
##---- 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")}