Package index
-
appendLists()
- Append values to elements of a list from another list
-
bracket()
- Identify values bracketing another value
-
combineDf()
- Combine data frames with different fields using a crosswalk table
-
corner()
- Corner of a matrix or data frame
-
convertUnits()
- Convert length or areal units
-
conversionFactors
- Data frame or conversion factors for length or areal units
-
cull()
- Force objects to have length or rows equal to the shortest
-
expandUnits()
- Convert unit abbreviations to proper unit names
-
insert()
- Insert values into a vector
-
insertCol()
insertRow()
- Insert a column or row into a data frame or matrix
-
maxRuns()
- Maximum number of continuous "runs" of values meeting a particular condition
-
mirror()
- Flip an object
-
mmode()
- Modal value(s)
-
mergeLists()
- Merge two lists with precedence
-
renameCol()
- Rename columns
-
renumSeq()
- Renumber a sequence of numbers
-
rotateMatrix()
- Rotate values in a matrix
-
roundTo()
- Round to nearest target value
-
rowColIndexing()
- Convert between row- and column-style indexing of matrices
-
side()
- Left/right side of a data frame or matrix
-
stretchMinMax()
- Rescale values
-
unlistRecursive()
- For any object in a list that is also a list, unlist it
-
unragMatrix()
- Turn a "ragged" matrix into a "ragged" vector
-
domLeap
- Day of month for leap years
-
domNonLeap
- Day of month for non-leap years
-
doyLeap
- Day of year for leap years
-
doyNonLeap
- Days of year for non-leap years
-
isLeapYear()
- Is a year a leap year?
-
yearFromDate()
- Year from date formats that are possibly ambiguous
-
pairDist()
- Calculate pairwise distances between two matrices or data frames.
-
quadArea()
- Area of a quadrilateral
-
naCompare()
`%<na%`
`%<=na%`
`%==na%`
`%!=na%`
`%>na%`
`%>=na%`
- Compare values using <, <=, >, >=, !=, and == (robust to NAs)
-
isTRUENA()
isFALSENA()
- Vectorized test for truth robust to NA
-
naOmitMulti()
- Remove NAs from one or more equal-length vectors
-
naRows()
- Index of rows in a data frame or matrix that contain at least one
NA
-
countDecDigits()
- Number of digits after a decimal place
-
longRun()
- Length of the longest run of a particular value in a numeric vector
-
is.wholeNumber()
- Test if a numeric value is a whole number
-
roundedSigDigits()
- Number of significant digits in rounded numbers
-
which.pmax()
which.pmin()
- Which vector has maximum value at each element
-
dirCreate()
- Replacement for dir.create()
-
eps()
- The smallest machine-readable number
-
listFiles()
- Replacement for
list.files()
-
memUse()
- Size of objects taking most memory use
-
capIt()
- Capitalize first letter of a string
-
forwardSlash()
- Replace backslash with forward slash
-
pmatchSafe()
- Partial matching of strings with error checking
-
prefix()
- Add leading characters to a string
-
rstring()
- Make a nearly-guaranteed unique string