Learn R Programming

CITAN (version 2015.12-2)

lbsDescriptiveStats: Perform preliminary analysis of data in a Local Bibliometric Storage

Description

Performs preliminary analysis of data in a Local Bibliometric Storage by creating some basic descriptive statistics (numeric and graphical). Dataset may be restricted to any given document types or a single survey.

Usage

lbsDescriptiveStats(conn, documentTypes = NULL, surveyDescription = NULL,
  which = (1L:7L), main = "", ask = (prod(par("mfcol")) < length(which) &&
  dev.interactive()), ..., cex.caption = 1)

Arguments

conn

connection object, see lbsConnect.

documentTypes

character vector or NULL; specifies document types to restrict to; a combination of Article, Article in Press, Book, Conference Paper, Editorial, Erratum, Letter, Note, Report, Review, Short Survey. NULL means no restriction.

surveyDescription

single character string or NULL; survey to restrict to, or NULL for no restriction.

which

numeric vector with elements in 1,...,7, or NULL; plot types to be displayed.

main

title for each plot.

ask

logical; if TRUE, the user is asked to press return before each plot.

...

additional graphical parameters, see plot.default.

cex.caption

controls size of default captions.

Details

Plot types (accessed with which):

  • 1 --- "Document types",

  • 2 --- "Publication years",

  • 3 --- "Citations per document",

  • 4 --- "Citations of cited documents per type",

  • 5 --- "Number of pages per document type",

  • 6 --- "Categories of documents" (based od source categories),

  • 7 --- "Documents per author".

Note that this user interaction scheme is similar in behavior to the plot.lm function.

See Also

plot.default, lbsConnect /internal/ /internal/

Examples

Run this code
# NOT RUN {
conn <- lbsConnect("Bibliometrics.db");
## ...
lbsDescriptiveStats(conn, surveyDescription="Scientometrics",
   documentTypes=c("Article", "Note", "Report", "Review", "Short Survey"));
## ...
lbsDisconnect(conn);
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab