Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example script fit_nyc_bym2.R to use model bym2_offset_only.stan doesn't work #181

Open
ghost opened this issue May 26, 2020 · 1 comment

Comments

@ghost
Copy link

ghost commented May 26, 2020

When I run the fit_nyc_bym2.R script, it first fails because the variable clipped_nyc_subset_shp (in line 15) is not defined. After commenting that out, the call to sampling (in line 31) fails with:

Error in new_CppObject_xp(fields$.module, fields$.pointer, ...) :
  Exception: variable does not exist; processing stage=data initialization; variable name=N; base type=int  (in 'model15d849c4f0f_bym2_offset_only' at line 3)

The variable N exists and is of type int, which is, IIUC, what the bym2_offset_only.stan model expects.

@ghost
Copy link
Author

ghost commented May 27, 2020

@mitzimorris, I see that you created this script, do you maybe have an idea why it doesn't work / what I could do to fix it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants