daniel1noble / orchaRd

Extending the Orchard Plot for Meta-analysis
https://daniel1noble.github.io/orchaRd/
11 stars 6 forks source link

2 things to fix #62

Open itchyshin opened 2 months ago

itchyshin commented 2 months ago

@daniel1noble I am just noting two things to fix for orchard_plot

  1. This one is easy - trunk.size default is too big - we should set it to 0.5
  2. if we use metafor argument subset and orchard_plot fails (I did not know such an argument is available in metafor)
daniel1noble commented 2 months ago

@itchyshin Thanks. 1. fixed. 2. I've never heard of the subset argument either so I will have a look and see what might be up.

itchyshin commented 2 months ago

Thanks @daniel1noble - see below:

rma.mv(yi, V, W, mods, random, struct="CS", intercept=TRUE,
       data, slab, subset, method="REML", test="z",
       level=95, digits, btt, R, Rscale="cor",
       sigma2, tau2, rho, gamma2, phi, sparse=FALSE, verbose=FALSE, control, …)

subset

optional (logical or numeric) vector indicating the subset of studies (or more precisely, rows of the dataset) that should be used for the analysis.