monoproc.2d-class {monoProc}R Documentation

Class "monoproc.2d"

Description

A representation of a monotonized fit with information about the original fit and more

Details

the class "monoproclocfit.2d" is a "monoproc.2d"-object where the original fit is of class "locfit". Both "monoproc.2d" as well as "monoproclocfit.2d" belong to the class "monoproc"

Objects from the Class

Objects can be created by calls of the form new("monoproc.2d", ...).

Slots

fit:
Object of class "monofit" . This is the new monotonized fit .
fitold:
Object of class "fit" . This slot represents the old fit and can be of class "list", "locfit", "ksmooth" , "locpoly", or "loess".
gridsize:
Object of class "numeric" .
bandwidth:
Object of class "numeric". The used bandwidth for the monotonizing procedure.
kernel:
Object of class "character". The used kernel. Currently only "epanech".
mono:
Object of class "character".
dir:
Directions and order of the monotonization. Possible values are "xy", "yx", "x", or "y".
name:
Object of class "character". Names of the variables.
call:
Call of this object.

Methods

plot
signature(x = "monoproc.2d", y = "missing"):plots the monotone fit. Three types are available: "persp", "contour", "image". Default is "persp".
print
signature(x = "monoproc.2d"): prints the monotone fit.
summary
signature(object = "monoproc.2d"): gives a summary of the monotone fit.
cv
signature(fit= "monoproclocfit.2d"): calculates the cross validation value for the monotone and the unconstraint fit.

See Also

monoproc.1d-class


[Package monoProc version 1.0-4 Index]