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.

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

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.

Value

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

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.

Note

If names were generic, there would be no need for this generic function.

Examples

## see the method function documentation