\name{defaultElement} \alias{defaultElement} \alias{defaultElement,vector-method} \title{ Return the default element for a vector object. } \description{ For a vector object, this generic returns a length one vector with the default element for the vector as the first (and only) element. } \usage{ defaultElement(x) } \arguments{ \item{x}{ A vector object. } } \value{ A length one vector with the default element. } \seealso{\code{\link{externalVector-class}} for the method for this generic for the "externalVector" class. } \examples{ defaultElement(1:5) defaultElement(list(1, 2)) } \keyword{methods}