leftstr {fitPoly}R Documentation

Get substrings from the lefthand side

Description

Get substrings from the lefthand side

Usage

leftstr(x, n)

Arguments

x

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

n

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

Value

character vector with leftside substrings of x


[Package fitPoly version 4.0.0 Index]