Skip to contents

Extends the bibliographic database by adding JCR metrics to sources, per year and WoS category.

Usage

add_jcr(db, jcrdb)

# S3 method for class 'wos.jcr'
plot(
  x,
  filter,
  plot = TRUE,
  all = FALSE,
  ask = plot && all && interactive(),
  ...
)

Arguments

db

a bibliographic database (a wos.db object; typically the output of the function db_bib()).

jcrdb

a JCR database (a jcr.db object; typically the output of the function db_jcr()).

x

a wos.jcr object.

filter

vector of document identifiers (usually a result of get_id_docs()).

plot

logical; if TRUE (default), the plots are drawn, otherwise only the ggplot2 object is (invisibly) returned.

all

logical; if TRUE, function plot.wos.db() is called (additional parameters ... are passed to this function), otherwise only a JCR metrics plot is generated.

ask

logical; if TRUE, the user is asked before each plot (see par(ask=.)).

...

further arguments passed to or from other methods.

Value

An S3 object of class wos.jcr. A wos.db object with additional components JCRSour and JCRCatSour.

See also