Skip to content

Problem with LaTeX table: ErrorL subscription out of bounds #190

@storopoli

Description

@storopoli

There is an error when generating LaTeX table in shinystan. I've run the model with brms, but this happens when also converting brms code and data to rstan:

library(brms)
library(rstan)
library(shinystan) 

fit <- brm(
    bf(mpg ~ 1 + (1 | cyl) + hp + wt, decomp = "QR"),
    data = mtcars,
    family = gaussian
)

code <- stancode(fit)  
dat <- standata(fit)
fit2 <- stan(model_code = code, data = dat) 
launch_shinystan(fit2) # or `brmsfit` fit

The error only happens when I select Quantile: 97.5%, see pics below:
Screen Shot 2021-02-27 at 06 19 54
Screen Shot 2021-02-27 at 06 20 04

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions