caseyyoungflesh / MCMCvis

R package to visualize, manipulate, and summarize MCMC output

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add more regex examples to vignette

caseyyoungflesh opened this issue · comments

Example

To return alpha[,2], use the following:
MCMCsummary(fit, params = 'alpha\[([1-9]|[1-9][0-9]), [2]', ISB = FALSE)

| is OR
\ is escape characters for [, as [ denotes the range of numbers for each digit