Description Usage Arguments Examples
This is a small number of standard methods for interacting with class 'bibliography'. More may be added later.
1 2 3 4 5 6 7 8 9 10 11 | 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, ...)
|
x |
An object of class 'bibliography' |
object |
An object of class 'bibliography' |
n |
Number of items to select/print |
... |
Any further information |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | # 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.