Learn R Programming

nimble (version 1.2.1)

getsize: 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

Author

Clifford Anderson-Bergman

Details

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

Examples

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

Run the code above in your browser using DataLab