wwiecek/baggr

data is summarized by prepare_ma and no longer contains covariates at this point of prepare_prior

roboton opened this issue · 4 comments

val <- max(10*unlist(lapply(data[, covariates, drop = FALSE], function(x)

I am trying to run an individual meta-analysis model with covariates and get an error because covariates can't be set since the data has been overwritten by a summary aggregate which no longer contains the individual level covariate.

@mattlowes

Hi @roboton and @mattlowes thank so much for bringing this up and sorry to get back to you late. The summary of individual data behaviour has been updated in the last 2 versions so very likely it just needs a simple fix, I will try to get to this soon.

I think this is now fixed in #114 which is pending checks and submission to CRAN in a few weeks. You can install from devel branch in the meantime if you want to fit models.

Thanks. Please say hi to Raissa from me!