Coerce a grass_card to a tidy data.frame (panel; per_rater appended on divergent)
Source:R/as-data-frame.R
as.data.frame.grass_card.RdReturns the panel of observed coefficients with surface-position metadata
as a data.frame. Each row carries the v0.7.1 panel columns
(surface_percentile, band_lo / band_hi / band_open_low /
band_open_high, q_hat, se_q_hat, clamped, reference_used,
in_delta_hat), an is_primary flag, and the panel-level delta
diagnostics recycled across rows (delta_hat implied-quality spread in
pp, delta_percentile, delta_flag, and the matched-null cell
matched_null_k / matched_null_N / matched_null_q). When the
cross-coefficient flag is divergent and the per-rater latent-class
table is populated, returns a list c(panel = ..., per_rater = ...) so
tidy consumers can pivot the per-rater rows separately.
Usage
# S3 method for class 'grass_card'
as.data.frame(x, row.names = NULL, optional = FALSE, ...)