metaBMA (version 0.6.1)

plot_default: Plot Default Priors

Description

Plots default priors for the mean effect \(d\) and the standard deviation of effects \(tau\).

Usage

plot_default(field = "psychology", effect = "d", ...)

Arguments

field

either"psychology" or "medicine" (uses partial matching, so "p" and ""m" are sufficient)

effect

the type of effect size: either Cohen's d ("d"), Pearson correlations ("r"), Fisher's z-transformed correlations ("z"), or log-odds ratios ("logOR").

...

further arguments passed to plot (e.g., from, to)

See Also

meta_default for details on standard priors.

Examples

Run this code
# NOT RUN {
plot_default("psychology", "ttest", 0, 2)
plot_default("medicine", "logOR", 0, 2)
# }

Run the code above in your browser using DataCamp Workspace