Print, summary and other methods for cobs objects.
cobs
# S3 method for cobs print(x, digits = getOption("digits"), …) # S3 method for cobs summary(object, digits = getOption("digits"), …)# S3 method for cobs coef(object, …) # S3 method for cobs fitted(object, …) # S3 method for cobs knots(Fn, …) # S3 method for cobs residuals(object, …)
# S3 method for cobs coef(object, …) # S3 method for cobs fitted(object, …) # S3 method for cobs knots(Fn, …) # S3 method for cobs residuals(object, …)
object of class cobs.
number of digits to use for printing.
further arguments passed from and to methods.
print.cobs() returns its argument invisibly. The coef(), fitted(), knots(), and residuals() methods return a numeric vector.
print.cobs()
coef()
fitted()
knots()
residuals()
These are methods for fitted COBS objects, as computed by cobs.
predict.cobs for the predict method, plot.cobs for the plot method, and cobs for examples.
predict.cobs
predict
plot.cobs
plot
# NOT RUN { example(cobs) # } # NOT RUN { <!-- % ./cobs.Rd --> # } # NOT RUN { Sbs # uses print.* summary(Sbs) coef(Sbs) knots(Sbs) # }
Run the code above in your browser using DataLab