Open softloud opened 3 years ago
And create a blog to put it on
options
distill::
- for scienceblogdown::
- most conventionalhugodown::
- in development but better than blogdown in some wayspkgdown::
- for packagesGo through Chapter 1; it ends with a recommend workflow for setting up a blog.
Note the "vignettes" for metafor::
are in the massive pdf on the package. Not friendly to find. But if you can bear drilling in to find one example, just focus on that, recreating the code.
Another option is to look for someone else blog post on meta-analysis and recreate that.
Another tip. Look for data that has control & treatment continuous measures, mean and sd. Easiest to do a standardised mean difference meta-analysis.
In particular three functions from metafor::
are of interest:
::escalc
for calculating the effect and the variance of the effect (odds-ratio, risk-ratio, standardised mean difference) ::rma
for random effects meta-analysis, i.e., the modelling function::forest
for plotting the forest plot
for Canadian pdoc application
example from Charles' job application
metafor::
(meta-analysis package)browseVignettes("metafor")