Skip to contents

Returns the panel of observed coefficients with surface position metadata as a data.frame. The primary coefficient is flagged via the is_primary column. 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, ...)

Arguments

x

A grass_card object.

row.names, optional

Standard as.data.frame arguments.

...

Unused.

Value

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.