

   clearNames {nls}                             R Documentation

   RReemmoovvee tthhee NNaammeess ffrroomm aann OObbjjeecctt

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

        This function sets the `names' attribute of `object' to
        `NULL' and returns the object.

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

        clearNames(object)

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

     object: an object that may have a `names' attribute

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

        An object similar to `object' but without names.

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

        Douglas Bates and Saikat DebRoy

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

        `setNames'

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

        library( nls )
        data( women )
        lapply( women, mean )               # has a names attribute
        clearNames( lapply( women, mean ) ) # removes the names

