Learn R Programming

face (version 0.1-3)

predict.pspline: Mean prediction from a P-spline smoothing fit

Description

Predict mean values based on a fit from "pspline".

Usage

# S3 method for pspline
predict(object, argvals.new,…)

Arguments

object

a fitted object from the R function "pspline".

argvals.new

a vector of new time points.

...

further arguments passed to or from other methods.

Value

Predicted means at argvals.new.

References

Luo Xiao, Cai Li, William Checkley and Ciprian Crainiceanu, Fast covariance estimation for sparse functional data, Stat. Comput., 10.1007/s11222-017-9744-8.

Examples

Run this code
# NOT RUN {
#See the examples for "pspline".
# }

Run the code above in your browser using DataLab