This function assigns a label to any kind of object. The label later can be retrieved and reused.
Usage
label(x)
label(x) <- value
Arguments
value
any expression.
x
any object.
Value
Print out the label value.
encoding
UTF-8
Details
The label can be any expression assigned to any object. It is stored as a character attribute. Inheritance is not implemented, so by any transformation of the object into another one, the label is lost.
References
S'olymos{Solymos} P. (2008) mefa: an R package for handling and reporting count data. Community Ecology9, 125--127.
S'olymos{Solymos} P. (2009) Processing ecological data in R with the mefa package. Journal of Statistical Software29(8), 1--28. http://www.jstatsoft.org/v29/i08/