Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

bibliography-methods

Methods for class 'bibliography'


Description

This is a small number of standard methods for interacting with class 'bibliography'. More may be added later.

Usage

as.bibliography(x, ...)
	## S3 method for class 'bibliography'
as.data.frame(x, ...)
	## S3 method for class 'bibliography'
x[n]
	## S3 method for class 'bibliography'
c(...)
	## S3 method for class 'bibliography'
print(x, n, ...)
	## S3 method for class 'bibliography'
summary(object, ...)

Arguments

x

An object of class 'bibliography'

object

An object of class 'bibliography'

n

Number of items to select/print

...

Any further information

Examples

# import some data
file_location <- system.file(
  "extdata",
  "avian_ecology_bibliography.ris",
  package = "revtools")
x <- read_bibliography(file_location, return_df = FALSE)

# basic descriptions
summary(x)
print(x)
x[1]

# append two bibliography objects
y <- c(x[1:5], x[2:4])

# conversion to and from data.frame
y <- as.data.frame(x)
x_new <- as.bibliography(y)

revtools

Tools to Support Evidence Synthesis

v0.4.1
GPL-3
Authors
Martin J. Westgate [aut, cre]
Initial release
2019-12-17

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.