Skip to content

Commit

Permalink
changed function to produce stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
Rostu committed Sep 5, 2024
1 parent 1024da6 commit 82626c8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/rma.R
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,6 @@ rma <- function(yi,vi,measure,d,effect="Effect") {
}else{
rma_model <- metafor::rma.uni(yi=dat[,yi],vi=dat[,vi],measure=measure,slab=paste(dat$r_author, dat$r_year))
}
gc() # Force R to release memory it is no longer using
return(rma_model)
}

0 comments on commit 82626c8

Please sign in to comment.