Learn R Programming

epiparameter (version 0.4.1)

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

Description

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

Usage

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

Value

A <data.frame> with a single row.

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).

Examples

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

Run the code above in your browser using DataLab