Learn R Programming

polymapR (version 1.0.17)

rightstr: Get substrings from the righthand side

Description

Get substrings from the righthand side

Usage

rightstr(x, n)

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

Value

character vector with rightside substrings of x