resetIterations {dembase} | R Documentation

## Reset iteration labels.

### Description

Reset the labels used by a dimension with `dimtype` `"iteration"` to be `1:nIteration(object)`.

### Usage

    resetIterations(object)

    ## S4 method for signature 'DemographicArray'
    resetIterations(object)

    ## S4 method for signature 'MetaData'
    resetIterations(object)

### Arguments

`object` | An object of class `DemographicArray`.

### Examples

    x <- ValuesOne(rnorm(10), labels = seq(2, 20, 2), name = "iteration")
    resetIterations(x)

[Package dembase version 0.0.0.119 Index]