Learn R Programming

fitPoly (version 4.0.0)

rightstr: Get substrings from the righthand side

Description

Get substrings from the righthand side

Usage

rightstr(x, n)

Value

character vector with rightside substrings of x

Arguments

x

a character vector (or something having an as.character method)

n

a single number: if n>=0, the rightmost n characters of each element of x are selected, if n<0 the (-n) leftmost characters are omitted