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

Does Ntrials break autoplot? #43

Open
timcdlucas opened this issue Apr 4, 2017 · 0 comments
Open

Does Ntrials break autoplot? #43

timcdlucas opened this issue Apr 4, 2017 · 0 comments
Labels

Comments

@timcdlucas
Copy link
Owner

  formula <- positive ~ x1 + x2
  
  
  xx = data.frame(x1 = rnorm(length(pointcases$examined)), x2 = rnorm(length(pointcases$examined)))
  inla_point_stack <- inla.stack(tag = 'est', 
                                 data = list(positive = pointcases$examined,
                                             examined = pointcases$examined),
                                 A = list(1), 
                                 effects = list(xx))
                                 
  
  inla.model <- inla(formula, 
                     family = 'binomial',
                     data = inla.stack.data(inla_point_stack),
                     Ntrials = examined
                     )
@timcdlucas timcdlucas added the bug label Apr 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant