Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Feb 2, 2024
1 parent b9a39cb commit 67dabdc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vignettes/parameters.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,8 @@ dat <- escalc(
)
dat$author <- make.unique(dat$author)
dat$disease <- sample(c("Cancer", "CVD", "Depression"), size = nrow(dat), replace = TRUE)
model <- rma(yi, vi, mods = ~disease, data = dat, digits = 3, slab = author)
mydat <<- dat
model <- rma(yi, vi, mods = ~disease, data = mydat, digits = 3, slab = author)
result <- model_parameters(model)
result
Expand Down

0 comments on commit 67dabdc

Please sign in to comment.