pcurves: Plot pcurve

View source: R/pcurves.R

pcurvesR Documentation

Plot pcurve

Description

Using the R package meta to calculate a random effects meta-analysis based on estimates (e.g. log hazard ratios) and their standard errors. Afterwards using dmetar package to create a pcurve plot.

Usage

pcurves(yi, vi, measure, d)

Arguments

yi

A string of the variable which holds the vector of length k with the observed effect sizes or outcomes in the selected dataset (d)

vi

A string of the variable which holds the vector of length k with the corresponding sampling variances in the selected dataset (d)

measure

A character string indicating underlying summary measure

d

A string representing the dataset name that should be used for fitting.

Value

returns a pcurve plot

Author(s)

Robert Studtrucker


leibniz-psychology/PsychOpen-CAMA-R-package documentation built on April 17, 2025, 5:27 p.m.