Learn R Programming

nlme (version 3.1-163)

Names: Names Associated with an Object

Description

This function is generic; method functions can be written to handle specific classes of objects. Classes which already have methods for this function include: formula, modelStruct, pdBlocked, pdMat, and reStruct.

Usage

Names(object, ...)
Names(object, ...) <- value

Value

will depend on the method function used; see the appropriate documentation.

Arguments

object

any object for which names can be extracted and/or assigned.

...

some methods for this generic function require additional arguments.

value

names to be assigned to object.

Author

José Pinheiro and Douglas Bates bates@stat.wisc.edu

SIDE EFFECTS

On the left side of an assignment, sets the names associated with object to value, which must have an appropriate length.

See Also

Names.formula, Names.pdMat

Examples

Run this code
## see the method function documentation

Run the code above in your browser using DataLab