File: internal.functions.Rd

package info (click to toggle)
r-cran-arsenal 3.6.3-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 2,788 kB
  • sloc: sh: 18; makefile: 5
file content (39 lines) | stat: -rw-r--r-- 1,008 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/internal.functions.R
\name{internal.functions}
\alias{internal.functions}
\alias{smart.split}
\alias{replace2}
\title{Internal Functions}
\usage{
smart.split(string, width = Inf, min.split = -Inf)

replace2(x, list, values)
}
\arguments{
\item{string}{A character vector}

\item{width}{Either \code{Inf} or \code{NULL} to specify no splitting,
or a positive integer giving the largest allowed string length.}

\item{min.split}{Either \code{-Inf} or \code{NULL} to specify no
lower bound on the string length, or a positive integer giving the minimum string length.}

\item{x}{vector}

\item{list}{an index vector}

\item{values}{replacement values}
}
\value{
For \code{smart.split}, a list of the same length as \code{string}, with each element being
  the "intelligently" split string.

  For \code{replace2}, a vector with the proper values replaced.
}
\description{
Internal Functions
}
\seealso{
\code{\link[base]{replace}}
}