vecextract: Auxiliary function: extracting elements from strings

Description Usage Arguments Value

View source: R/mtr.R

Description

This auxiliary function extracts the (string) element in the position argument of the vector argument.

Usage

1
vecextract(vector, position, truncation = 0)

Arguments

vector

the vector from which we want to extract the elements.

position

the position in vector to extract.

truncation

the number of characters from the front of the element being extracted that should be dropped.

Value

A chracter/string.


ivmte documentation built on Sept. 17, 2021, 5:06 p.m.