Learn R Programming

metaBMA (version 0.3.9)

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, effect, ...)

Arguments

field

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

effect

the type of effect size: either means ("ttest"), log-odds ratios ("logOR") or (Fisher's z-transformed) correlations ("corr") (also uses partial matching)

...

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 DataLab