Learn R Programming

pcFactorStan (version 1.5.4)

withoutIndex: Remove the array indexing from a parameter name

Description

Remove the array indexing from a parameter name

Usage

withoutIndex(name)

Value

the name without the square bracket parameter indexing

Arguments

name

a parameter name

Examples

Run this code
withoutIndex("foo[1,2]")

Run the code above in your browser using DataLab