Description Usage Arguments Details Value See Also Examples
See how functions in demarray
and associated packages
will interpret the labels from each dimension of a demographic
array or account.
1 2 3 4 | is_quant_scale(x)
## S4 method for signature 'DemographicArray'
is_quant_scale(x)
|
x |
An object of class |
Each dimension of a demographic array has a measurement scale.
A dimension may, for instance, represent age using years since birth,
or represent geographical region using the name of that region.
Years since birth is an example of a quantitative measurement
scale, and region name is an example of a qualitative measurement
scale. Functions in demarray
and associated packages infer
measurement scales from dimtypes
and dimnames.
Function is_quant_scale
returns a logical vector stating,
for each dimension of a demographic array, whether the that dimension
has quantitative measurement scale. When used with a demographic
account, is_quant_scale
returns the values for the population
series.
To change the dimnames, and hence, potentially, to switch
between quantitative and qualitative scales, use base
function dimnames
.
A named logical vector.
dimtypes
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.