Short summary of the problem
When I use my results to plot a binomial interaction model, The following warning is indicated, then show me a strange figure.
The warning is: Setting all ‘trials’ variables to 1 by default if not specified otherwise.
Plotting code:
graph_recruiment<-conditional_effects(fit_recruiment,effect=“year:canopy”)
plot(graph_recruiment,points=T)
code_to_run_your_model(if_applicable)
fit_recruiment<-brm(new|trials(size)~canopy*year+(1|plot),
family = binomial(),
data=data_dynamic,
seed=1,
prior=c(set_prior("",class=“Intercept”)),
chains=4,
iter=20000,
warmup=10000,
thin=1,
control = list(adapt_delta=0.97,max_treedepth = 15))
Please also provide the following information in addition to your question:
- Operating System: win10
- brms Version:> packageVersion(“brms”) [1] ‘2.13.5’
and my data like this:
I am not good at English and programming.
thank you everyone!