vecGetVecElem: Vector with base elements and index

View source: R/tex_helper.R

vecGetVecElemR Documentation

Vector with base elements and index

Description

The result is a vector of elements that have psBaseElement as prefix and that have the index of the corresponding vector element as suffix. The result may be in raw format or in LaTeX-Math format. The latter is produced when argument psResult is set to "latex".

Usage

vecGetVecElem(psBaseElement, pnVecLen, psResult = "raw")

Arguments

psBaseElement

suffix of the vector elements

pnVecLen

number of elements in the vector

psResult

format of result (default = "raw")

Value

Vector with string elements that each have psBaseElement as prefix and the index as suffix, separated by psSepChar


charlotte-ngs/rmdhelp documentation built on Oct. 31, 2023, 10:21 a.m.