Base Functions for the 'DescToolsX' Ecosystem


[Up] [Top]

Documentation for package ‘bedrock’ version 0.1.9

Help Pages

A B C D E F G H I K L M N O P Q R S T U V W misc

-- A --

allDuplicated Logical Indicator for All Values Involved in Ties
allIdentical Test Whether Multiple Objects Are Identical
appendEnum Add an Enumeration Column
appendRowNames Append Rownames to a Data Frame or Matrix
appendX Append Elements to Objects
appendX.data.frame Append Elements to Objects
appendX.default Append Elements to Objects
appendX.matrix Append Elements to Objects
appendX.TOne Append Elements to Objects
applySides Open One Side of a Confidence Interval
as.array.xtabs Coerce 'xtabs' Object to Array or Matrix
as.matrix.xtabs Coerce 'xtabs' Object to Array or Matrix
asBinary Coerce a Vector to Binary (0/1)
asCDateFmt Convert Custom Date Format to strftime Format
asciiToChar Character <-> ASCII Conversion

-- B --

baseToBase Convert Numbers Between Bases
between-operators Operators To Check, If a Value Lies Within Or Outside a Given Range
bin Type Coercion Shortcuts
binaryTree Binary Tree
binToDec Convert Numbers Between Bases
buildPath Construct a Normalized File Path

-- C --

callIf Conditionally Call a Function
Cards Playing Cards dataset
char-ascii-conversion Character <-> ASCII Conversion
charToAscii Character <-> ASCII Conversion
checkConfLevel Validate a Confidence Level
checkCount Validate a Count
checkFlag Validate a Logical Flag
checkString Validate a Character String
chr Type Coercion Shortcuts
closest Find the Closest Value
coalesceX Return the First Element Not Being NA
collapseTable Collapse Table Dimensions by Remapping Factor Levels
columnWrap Column Wrap
combLevels Combine Levels from Multiple Inputs
combN Number of Combinations of a Set
combPairs Get All Pairs Out of One or Two Sets of Elements
combSet Samples for Combinations of a Set
compareDataFrames Compare Two Data Frames by Key Column
completeColumns Identify Columns Without Missing Values
countCompCases Count Complete Cases
courseData Load Course Dataset from Server
crossProd Cross Product of 3D Vectors or Matrices
crossProdN Generalized Cross Product via Determinants

-- D --

dataDescription Extract Data Description from Excel File
decToBin Convert Numbers Between Bases
decToHex Convert Numbers Between Bases
decToOct Convert Numbers Between Bases
digitSum Digit Sum for Integer Values
distance Interval Arithmetic
divisors Calculate Divisors
dotProd Dot Product of Vectors or Matrices
dummy Generate Dummy Codes for a Factor

-- E --

extractArgs Extract Named Arguments from Dots with Defaults

-- F --

factorize Prime Factorization of Integers
fibonacci Fibonacci Numbers
fileExistURL Check if a File Exists at a URL
findDownload Locate a File in the Downloads Directory
flags Extract Dichotomous (Binary) Variables
frac Precision, Decimal Places and Fractional Part of a Numeric Value
funArgs List All Arguments of a Function
funCalls List Calls Used in Function
funKeywords List Keywords For R Manual Pages
funList List Functions in a Package

-- G --

GCD Greatest Common Divisor and Least Common Multiple
GCD-LCM Greatest Common Divisor and Least Common Multiple
getDotsArg Get a Single Argument from Dots with Default

-- H --

hexToDec Convert Numbers Between Bases

-- I --

int Type Coercion Shortcuts
intervals Interval Arithmetic
isDichotomous Check Whether a Vector Is Dichotomous
isEuclid Test if a Distance Matrix Is Euclidean
isFilePath Check Whether a String Is a File Path
isLowCardinality Check for Low Cardinality
isNA Test for a Scalar Missing Value
isNumeric Check Whether an Object Is a Valid Numeric Vector
isOdd Test if Numbers Are Odd
isPrime Test Whether Numbers Are Prime
isURL Check Whether a String Is a URL
isWholeLike Test Whether Values Are (Nearly) Whole Numbers
isZero Check a Vector For Being Zero

-- K --

keepAttr Set and Remove Object Attributes

-- L --

label Get or Set Object and Variable Labels
label<- Get or Set Object and Variable Labels
LCM Greatest Common Divisor and Least Common Multiple
linScale Linearly Rescale Numeric Data
locf Last Observation Carried Forward
logit Logit Transformation and Its Inverse
logitInv Logit Transformation and Its Inverse
long-wide-reshape Reshape Between Long and Wide Format

-- M --

maxDec Precision, Decimal Places and Fractional Part of a Numeric Value
mergeArgs Merge Default Arguments with User Overrides
mGsub Multiple String Substitution
midx Midpoints of a Numeric Vector
moveAvg Moving Average
mReplace Replace Multiple Values in a Vector
multMerge Merge Multiple Data Frames

-- N --

naIf Replace Values with NA
naReplace Replace NA Values
naReplace.default Replace NA Values
naReplace.factor Replace NA Values
nchr Type Coercion Shortcuts
nDec Precision, Decimal Places and Fractional Part of a Numeric Value
nf Convert to Numeric via Factor
num Type Coercion Shortcuts
numeric-conversions Convert Numbers Between Bases
nUnique Count Unique Values
nz Extract Non-Zero Values

-- O --

octToDec Convert Numbers Between Bases
openDataObject Load Excel Data with Metadata (Codes and Labels)
overlap Interval Arithmetic
overlaps Interval Arithmetic

-- P --

pairApply Pairwise Calculations
parseSASDatalines Parse SAS DATALINES/CARDS blocks into a data.frame
pdfManual Open CRAN PDF Manual of a Package
peekFile Preview a Delimited Text File
percentRank Percent Rank of a Numeric Vector
permn Set of Permutations
Pizza Pizza Delivery Data (Extended)
prec Precision, Decimal Places and Fractional Part of a Numeric Value
precision Precision, Decimal Places and Fractional Part of a Numeric Value
primes Generate Prime Numbers up to Given Limits
printCharMatrix Pretty-print a character matrix with alignment, spacing and column splitting
ptInPoly Point-in-Polygon Test (Angle Summation, Rcpp)

-- Q --

quot Lagged Quotients

-- R --

randGroupSplit Randomly Split a Vector into Groups of Given Sizes
range-operators Select a Range Between Two Elements
rankX Fast Ranking with Extended Tie Handling
rBetaShape Generate Beta-Distributed Random Values by Shape
rdLabels Extract Variable Labels from Rd Documentation
rdTitle Extract the Title from an Rd Help File
readDownload Read a File from the Downloads Directory
recodeX Recode a Variable
recycle Recycle a List of Elements
removeAttr Set and Remove Object Attributes
renameX Rename Elements of a Named Object
resolveContingency Resolve a Contingency Table
resolveFormula Parse and Classify a Model Formula
resolveGroups Resolve Grouped Data
revCode Reverse Coding of Variables
revX Reverse the Order of Elements
revX.array Reverse the Order of Elements
revX.data.frame Reverse the Order of Elements
revX.default Reverse the Order of Elements
revX.matrix Reverse the Order of Elements
revX.table Reverse the Order of Elements
romanToInt Convert Numbers Between Bases
Roulette European Roulette Wheel
roundTo Round to a Multiple
rSum21 Random Numbers Summing to 1

-- S --

sampleX Random Samples and Permutations
sampleX.data.frame Random Samples and Permutations
sampleX.default Random Samples and Permutations
setAttr Set and Remove Object Attributes
setAttr-removeAttr-keepAttr Set and Remove Object Attributes
setLength Set the length of a vector, padding or truncating as needed
setNamesX Set the Names in an Object
sortX Sort Vectors, Matrices, Tables, and Data Frames
sortX.data.frame Sort Vectors, Matrices, Tables, and Data Frames
sortX.default Sort Vectors, Matrices, Tables, and Data Frames
sortX.matrix Sort Vectors, Matrices, Tables, and Data Frames
sortX.table Sort Vectors, Matrices, Tables, and Data Frames
splitAt Split a Vector at Given Positions
splitPath Split a File Path into Its Components
splitX Split Data into Groups (Extended Interface)
splitX.default Split Data into Groups (Extended Interface)
splitX.formula Split Data into Groups (Extended Interface)
stringsAsFactors Convert Character Columns to Factors
strSplitToCol Split Strings into Multiple Columns
strSplitToDummy Split a Character Vector into a Dummy Matrix
strX Extended str() with numbered variables

-- T --

Tarot Tarot Cards dataset
toBaseR Back to Basics with Tibbles
toBaseR.default Back to Basics with Tibbles
toBaseR.haven_labelled Back to Basics with Tibbles
toBaseR.tbl_df Back to Basics with Tibbles
toLong Reshape Between Long and Wide Format
toWide Reshape Between Long and Wide Format
trim Trim a Vector
type-aliases Type Coercion Shortcuts

-- U --

unirootAll Find multiple roots of a function within an interval
untable Recover Original Data From Contingency Table
untable.data.frame Recover Original Data From Contingency Table
untable.default Recover Original Data From Contingency Table
unwhich Inverse Which

-- V --

vRot Rotate a vector
vShift Shift a vector with NA padding

-- W --

winsorize Winsorize a Numeric Vector
withSeed Evaluate an expression under a temporary random seed

-- misc --

%()% Operators To Check, If a Value Lies Within Or Outside a Given Range
%(]% Operators To Check, If a Value Lies Within Or Outside a Given Range
%)(% Operators To Check, If a Value Lies Within Or Outside a Given Range
%)[% Operators To Check, If a Value Lies Within Or Outside a Given Range
%:% Select a Range Between Two Elements
%::% Select a Range Between Two Elements
%overlaps% Interval Arithmetic
%[)% Operators To Check, If a Value Lies Within Or Outside a Given Range
%[]% Operators To Check, If a Value Lies Within Or Outside a Given Range
%](% Operators To Check, If a Value Lies Within Or Outside a Given Range
%][% Operators To Check, If a Value Lies Within Or Outside a Given Range