getsize: Returns number of rows of modelValues

View source: R/all_utils.R

getsizeR 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)

nimble documentation built on March 18, 2022, 8:03 p.m.