dembase {dembase} | R Documentation

## Analysing cross-classified data about populations

### Description

General-purpose tools for demographic analysis, broadly defined. Includes facilities for data manipulation, multistate models, projections, and plotting. Uses S4 classes and methods.

### Details

The basic data structures are `demographic arrays` and `demographic accounts`.

Packages `demest` and `demlife` build on `dembase`: `demest` has facilities for Bayesian estimation and forecasting, and `demlife` has facilities for life tables. Package `demdata` has example datasets.

### Creating objects

`Counts`, `CountsOne`, `Movements`, `Net`, `Pool`, `Values`, `ValuesOne`

### Getting or setting metadata

`ageTimeStep`, `dimnames`, `dimscales`, `dimtypes`, `hasRegularAgeTime`, `limits`, `midpoints`, `names`, `nIteration`, `pairAligned`, `resetIterations`

### Visualization

`dplot`, `plot`

### Reshaping and manipulating

`addDimension`, `alignPair`, `aperm`, `collapseCategories`, `collapseDimension`, `collapseIntervals`, `collapseIterations`, `collapseOrigDest`, `drop`, `expandCategories`

### Extracting or replacing

`[`, `slab`, `subarray`, `subtotals`, `thinIterations`

### Combining

`attachSubtotals`, `dbind`

### Coercion

`as`, `as.data.frame`

### Demographic and statistical calculations

`exposure`, `extrapolate`, `growth`, `impute`, `perturb`, `prop.table`, `redistribute`, `redistributeCategory`, `tfr`

[Package dembase version 0.0.0.119 Index]