monoproc.1d-class {monoProc}R Documentation

Class "monoproc.1d"

Description

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

Details

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

Objects from the Class

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

Slots

fit:
Object of class "monofit" where fit@z is null. 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". Either "increasing" or "decreasing"
name:
Object of class "character". Names of the variables.
call:
Call of this object.

Methods

lines
signature(x = "monoproc.1d"): adds the line of the monotone fit to a given plot.
plot
signature(x = "monoproc.1d", y = "missing"): plots a monotone fit.
print
signature(x = "monoproc.1d"): prints a monotone fit.
summary
signature(object = "monoproc.1d"): gives a summary of the monotone fit.
cv
signature(fit = "monoproclocfit.1d"): calculates the cross validation value of the monotone and the unconstraint fit.

See Also

monoproc.2d-class


[Package monoProc version 1.0-4 Index]