Learn R Programming

phacking (version 0.2.1)

rtma_qqplot: Diagnostic quantile-quantile plot for a right-truncated meta-analysis

Description

To assess the fit of right-truncated meta-analysis and possible violations of its distributional assumptions, plots the fitted cumulative distribution function (CDF) of the published nonaffirmative estimates versus their empirical CDF. If the points do not adhere fairly closely to a 45-degree line, the right-truncated meta-analysis may not fit adequately.

Usage

rtma_qqplot(rtma)

Value

A ggplot2 object representing quantile-quantile plot.

Arguments

rtma

Output of phacking_meta().

Examples

Run this code
# \donttest{
money_priming_rtma <- phacking_meta(money_priming_meta$yi,
                                    money_priming_meta$vi,
                                    parallelize = FALSE)
rtma_qqplot(money_priming_rtma)
# }

Run the code above in your browser using DataLab