Learn R Programming

biblio (version 0.0.9)

as: Coerce 'lib_df' objects

Description

Coercion 'lib_df' objects.

Arguments

x

An object to be coerced.

Examples

Run this code
## Read installed library
Refs <- read_bib(x = file.path(path.package("biblio"),
        "LuebertPliscoff.bib"))

# Convert lib_df to data frame
as(Refs[1:5, ], "data.frame")

# Convert lib_df to bibentry
as(Refs[1:5, ], "bibentry")

Run the code above in your browser using DataLab