tableTag: Tabulate elements from a Tag Field column

View source: R/tableTag.R

tableTagR Documentation

Tabulate elements from a Tag Field column

Description

It tabulates elements from a Tag Field column of a bibliographic data frame.

Usage

tableTag(
  M,
  Tag = "CR",
  sep = ";",
  ngrams = 1,
  remove.terms = NULL,
  synonyms = NULL
)

Arguments

M

is a data frame obtained by the converting function convert2df. It is a data matrix with cases corresponding to articles and variables to Field Tag in the original WoS or SCOPUS file.

Tag

is a character object. It indicates one of the field tags of the standard ISI WoS Field Tag codify.

sep

is the field separator character. This character separates strings in each column of the data frame. The default is sep = ";".

ngrams

is an integer between 1 and 3. It indicates the type of n-gram to extract from titles or abstracts.

remove.terms

is a character vector. It contains a list of additional terms to delete from the documents before term extraction. The default is remove.terms = NULL.

synonyms

is a character vector. Each element contains a list of synonyms, separated by ";", that will be merged into a single term (the first word contained in the vector element). The default is synonyms = NULL.

Details

tableTag is an internal routine of main function biblioAnalysis.

Value

an object of class table

Examples


data(scientometrics, package = "bibliometrixData")
Tab <- tableTag(scientometrics, Tag = "CR", sep = ";")
Tab[1:10]


massimoaria/bibliometrix documentation built on Dec. 12, 2024, 12:47 p.m.