dot-make_index_names: Make colnames for parameter indices.

.make_index_namesR Documentation

Make colnames for parameter indices.

Description

Scalar parameters are named "name". Vector parameters are named "name[i]". Matrix parameters are named "name[i,j]".

Usage

.make_index_names(name, m = NULL, n = NULL, dim = 1)

Arguments

name

Parameter name

m, n

Dimensions of parameter (m=nrow, n=ncol)

dim

Dimensionality of parameter (0=scalar, 1=vector, 2=matrix)

Value

List of names for parameter values


edward130603/BayesSpace documentation built on Oct. 23, 2024, 7:04 a.m.