names,DemographicAccount-method {dembase} | R Documentation

## Get or set dimension names

### Description

Query or change the dimension names of a `DemographicArray` object.

### Usage

    ## 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

### Arguments

`x` | Object of class `DemographicArray`.
`value` | Character vector.

### Value

A character vector. The replacement method returns an object of class `DemographicArray`.

### Author(s)

John Bryant demographic.packages@gmail.com

### See Also

As described in `dimtypes`, some dimensions must come in pairs, and there are special rules governing the names of these dimensions.

### Examples

    library(demdata)
    popn <- Counts(VAPopn)
    names(popn)
    names(popn) <- toupper(names(popn))

[Package dembase version 0.0.0.119 Index]