| names,DemographicAccount-method {dembase} | R Documentation |
Query or change the dimension names of a DemographicArray
object.
## S4 method for signature 'DemographicAccount' names(x) ## S4 method for signature 'DemographicArray' names(x) ## S4 replacement method for signature 'DemographicArray' names(x) <- value ## S4 method for signature 'MetaData' names(x) ## S4 replacement method for signature 'MetaData' names(x) <- value
x |
Object of class |
value |
Character vector. |
A character vector. The replacement method returns an object of
class DemographicArray.
John Bryant demographic.packages@gmail.com
As described in dimtypes, some dimensions must come
in pairs, and there are special rules governing the names of these
dimensions.
library(demdata) popn <- Counts(VAPopn) names(popn) names(popn) <- toupper(names(popn))