Hi, I’m using
make_stancode() to produce the stan code from a brms model. But in the output the variable names in my data block don’t at all match the names in my dataset. This is also true using
stancode(). This is causing some confusion and difficulty.
I’m wondering what I’m missing. Essentially, I’m trying to use the stan code output as a separate .stan file that is then sampled via
rstan. The reason I’m doing this is because I need to run the stan code on the cloud and I can not install brms there.