| clearNames {nls} | R Documentation |
remove the names from an object
Description
This function sets the names attribute of object to
NULL and returns the object.
Usage
clearNames(object)
Arguments
object |
an object that may have a |
Value
An object similar to object but without names.
Author(s)
Douglas Bates and Saikat DebRoy
See Also
setNames
Examples
library( nls )
data( women )
lapply( women, mean ) # has a names attribute
clearNames( lapply( women, mean ) ) # removes the names