removeFirstN: Truncate to remove all of the _first_ N characters.

View source: R/utils.R

removeFirstNR Documentation

Truncate to remove all of the first N characters.

Description

Truncate an element, or each element of a vector, by removing the first N characters of each element.

Usage

removeFirstN(x, n)

Arguments

x

A vector whose element(s) will be truncated.

n

An integer specifying the number of characters to remove.

Author(s)

Caitlin Collins caitiecollins@gmail.com


caitiecollins/treeWAS documentation built on March 9, 2024, 3:15 p.m.