Stan parameter regex pattern
Examples
pat_depth(0)
#> Error in pat_depth(0): could not find function "pat_depth"
pat_depth(1)
#> Error in pat_depth(1): could not find function "pat_depth"
pat_depth(2)
#> Error in pat_depth(2): could not find function "pat_depth"
grepl( pat_depth(0), c("a", "a[1]", "a[1,2]", "a[1,2,3]") )
#> Error in pat_depth(0): could not find function "pat_depth"
grepl( pat_depth(2), c("a", "a[1]", "a[1,2]", "a[1,2,3]") )
#> Error in pat_depth(2): could not find function "pat_depth"