R: Returns number of rows of modelValues

getsize {nimble} | R Documentation

## Returns number of rows of modelValues

### Description

Returns the number of rows of NIMBLE modelValues object. Works in R and NIMBLE.

### Usage

    getsize(container)

### Arguments

`container` | modelValues object

### Details

See the User Manual or `help(modelValuesBaseClass)` for information about modelValues objects

### Author(s)

Clifford Anderson-Bergman

### Examples

    mvConf <- modelValuesConf(vars = 'a', types = 'double', sizes = list(a = 1) )
    mv <- modelValues(mvConf)
     resize(mv, 10)
    getsize(mv)

[Package nimble version 0.10.0 Index]