This is a generic function. Methods for this function coerce objects of given classes to vectors.
Methods for vector coercion in new classes must be created for the
asVector generic instead of
as.vector function is internal and not easily extended.
Currently the only class with an
asVector method is the
Douglas Bates and Bill Venables
1 2 3 4 5 6