as.data.frame.epiparameter: 'as.data.frame()' method for <epiparameter> class

View source: R/coercion.R

as.data.frame.epiparameterR Documentation

as.data.frame() method for ⁠<epiparameter>⁠ class

Description

as.data.frame() method for ⁠<epiparameter>⁠ class

Usage

## S3 method for class 'epiparameter'
as.data.frame(x, ...)

Arguments

x

An ⁠<epiparameter>⁠ object.

...

dots Not used, extra arguments supplied will cause a warning.

Details

The ⁠<data.frame>⁠ returned will contain some atomic columns (i.e. one object per row), and other columns that are lists (i.e. multiple objects per row). The list columns can contain lists or S3 objects (e.g. ⁠<bibentry>⁠ object in the citation column).

Value

A ⁠<data.frame>⁠ with a single row.

Examples

ep <- epiparameter_db(single_epiparameter = TRUE)
as.data.frame(ep)

epiparameter documentation built on April 3, 2025, 5:50 p.m.