Learn R Programming

orchaRd (version 2.2.1)

.add_ghost_points: Add Ghost Points to Orchard Plot

Description

Internal function to add ghost points to an orchard plot.

Usage

.add_ghost_points(data, transfm)

Value

A ggplot2 layer (via geom_quasirandom) displaying the ghost points.

Arguments

data

Data from the leave-one-out analysis, specifically the data component containing effect sizes (yi), variances (vi), and grouping variable (stdy).

transfm

Character string indicating the transformation to be applied to the data. See orchard_leave1out() for available transformation options.

Author

Facundo Decunta - fdecunta@agro.uba.ar

Details

Ghost points represent the effect sizes that were omitted in each leave-one-out iteration. They are plotted as empty points with reduced opacity to indicate their auxiliary role.