Learn R Programming

cobs (version 1.3-2)

cobs-methods: Methods for COBS Objects

Description

Print, summary and other methods for cobs objects.

Usage

"print"(x, digits = getOption("digits"), ...) "summary"(object, digits = getOption("digits"), ...)
"coef"(object, ...) "fitted"(object, ...) "knots"(Fn, ...) "residuals"(object, ...)

Arguments

x, object, Fn
object of class cobs.
digits
number of digits to use for printing.
...
further arguments passed from and to methods.

Value

print.cobs() returns its argument invisibly. The coef(), fitted(), knots(), and residuals() methods return a numeric vector.

Details

These are methods for fitted COBS objects, as computed by cobs.

See Also

predict.cobs for the predict method, plot.cobs for the plot method, and cobs for examples.

Examples

Run this code
example(cobs)
Sbs # uses print.*

summary(Sbs)

coef(Sbs)
knots(Sbs)

Run the code above in your browser using DataLab