Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

internal.functions

Internal Functions


Description

Internal Functions

Usage

smart.split(string, width = Inf, min.split = -Inf)

replace2(x, list, values)

Arguments

string

A character vector

width

Either Inf or NULL to specify no splitting, or a positive integer giving the largest allowed string length.

min.split

Either -Inf or NULL to specify no lower bound on the string length, or a positive integer giving the minimum string length.

x

vector

list

an index vector

values

replacement values

Value

For smart.split, a list of the same length as string, with each element being the "intelligently" split string.

For replace2, a vector with the proper values replaced.

See Also


arsenal

An Arsenal of 'R' Functions for Large-Scale Statistical Summaries

v3.6.2
GPL (>= 2)
Authors
Ethan Heinzen [aut, cre], Jason Sinnwell [aut], Elizabeth Atkinson [aut], Tina Gunderson [aut], Gregory Dougherty [aut], Patrick Votruba [ctb], Ryan Lennon [ctb], Andrew Hanson [ctb], Krista Goergen [ctb], Emily Lundt [ctb], Brendan Broderick [ctb], Maddie McCullough [art]
Initial release
2021-02-16

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.