Skip to contents

Convert a shift-recovery evaluation to a data frame

Usage

# S3 method for class 'bifrost_shift_recovery_evaluation'
as.data.frame(
  x,
  row.names = NULL,
  optional = FALSE,
  component = c("metrics", "counts"),
  ...
)

Arguments

x

A bifrost_shift_recovery_evaluation object.

row.names, optional

Arguments required by the S3 generic; ignored.

component

Which table to return: "metrics" for performance metrics or "counts" for aggregated contingency counts.

...

Unused.

Value

A data frame for the requested evaluation component.