asVector {splines} | R Documentation |
This is a generic function. Methods for this function coerce objects of given classes to vectors.
asVector(object)
object |
An object. |
a vector
Douglas Bates and Bill Venables
library( splines ) data( women ) ispl <- interpSpline( weight ~ height, women ) pred <- predict(ispl) class(pred) str(pred) asVector(pred)