View source: R/as-data-frame.R
| as.data.frame.grass_card | R Documentation |
Returns 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). Percentiles
are rounded to one decimal: the pooled percentile is computed on the
thirteen calibrated quality levels and moves in steps between them at
large N, so finer digits are not resolution. 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.
## S3 method for class 'grass_card'
as.data.frame(x, row.names = NULL, optional = FALSE, ...)
x |
A |
row.names, optional |
Standard |
... |
Unused. |
A data.frame (the panel) when x$per_rater is NULL or empty.
When the divergent flag fires, returns a list with panel and
per_rater data frames.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.