

   asVector {splines}                           R Documentation

   CCooeerrccee aann OObbjjeecctt ttoo aa VVeeccttoorr

   DDeessccrriippttiioonn::

        This is a generic function.  Methods for this function
        coerce objects of given classes to vectors.

   UUssaaggee::

        asVector(object)

   AArrgguummeennttss::

     object: An object.

   VVaalluuee::

        a vector

   AAuutthhoorr((ss))::

        Douglas Bates and Bill Venables

   SSeeee AAllssoo::

        `xyVector'

   EExxaammpplleess::

        library( splines )
        data( women )
        ispl <- interpSpline( weight ~ height,  women )
        pred <- predict(ispl)
        class(pred)
        str(pred)
        asVector(pred)

