getNameOfMatrixFromCmdstanr: Get names of matrix in cmdstanr.

Description Usage Arguments Value

View source: R/stanUtils.R

Description

Get names of matrix in cmdstanr.

Usage

1
getNameOfMatrixFromCmdstanr(nm = "MuInd", nr, nc, l = "[", r = "]")

Arguments

nm

string, name of variable in stan script

nr

integer, nrow of the variable.

nc

integer, ncolof the variable.

l

string, left bracket, default "["

r

string, right brackt, default "]"

Value

vector of string


beyondpie/mssc documentation built on Jan. 8, 2022, 1:30 p.m.