Man pages for kongra/koR
Contains some of my R codes

addrAlias for 'pryr::address'
archFMoves the file to a proper archive/ subdir
assertDTcolsAsserts that colnames(dt) equals cols
assocKvsPuts all key/value mapping pairs into m.
bindDTsBinds the data.table arguments into one data.table,...
brewerThemeCustom pleasant theme from:...
catimela'cat's (logs) time elapsed for expr to evaluate.
chattyDebug wrapper generator. Returns a diagnostic wrapper around...
createEnvMapCreates an env using the enumerated collection of key/value...
createListMapCreates a list using the enumerated collection of key/value...
doCallWorks like 'do.call' but optionaly removes all NULL args.
dotEveryReturns a a decorator of f that prints . every n.
ensureFEnsures that either file argument or its archived version...
epsiEqualReturns TRUE iff |x - y| <= e
forDTExecutes f for every row of dt
getDTcolsMatchingReturns a set of dt columns c such that match predicate pred...
grapes-equals-e12-grapesReturns TRUE iff |x - y| <= 1e-12.
grapes-equals-e16-grapesReturns TRUE iff |x - y| <= 1e-16.
grapes-equals-e1-grapesReturns TRUE iff |x - y| <= 0.1.
grapes-equals-e2-grapesReturns TRUE iff |x - y| <= 0.01.
grapes-equals-e3-grapesReturns TRUE iff |x - y| <= 0.001.
grapes-equals-e4-grapesReturns TRUE iff |x - y| <= 1e-4.
grapes-equals-e5-grapesReturns TRUE iff |x - y| <= 1e-5.
grapes-equals-e6-grapesReturns TRUE iff |x - y| <= 1e-6.
grapes-equals-e7-grapesReturns TRUE iff |x - y| <= 1e-7.
grapes-equals-e8-grapesReturns TRUE iff |x - y| <= 1e-8.
grapes-equals-e9-grapesReturns TRUE iff |x - y| <= 1e-9.
grapes-equals-NA-grapesWorks like == but for NA == NA returns TRUE and not NA (like...
grapes-or-grapesDefaults for NULL values.
hasDTcolsChecks if cols are valid colnames(dt)
latexThemeTheme compatible with LaTeX as much as possible.
listDiscardRemoves (discards) elements in list l for which p is TRUE.
listKeepKeeps elements in list l for which p is TRUE.
mapDTMaps f over each singleton data.tables representing the rows...
memuseAlias for 'pryr::mem_used'
modesReturns a data.table of mode values, together with their...
mostFrequentReturns a data.table of n most frequent elements in vector x...
moveDTcolsUses 'moveNames' to set a new column ordering (destructive on...
moveNamesThanks to:...
osizeAlias for 'pryr::object_size'
overDTSets data.table's new value of a column to a value of a...
partitionSplits xs into partitions of length n, thanks to...
printConditionCondition handler generator. 'printCondition' returns a...
qbenchAlias for 'microbenchmark::microbenchmark'
rgcExecute gc multiple times. 'rgc' Calls gc() n times, 1 when n...
savingPlotSaves a plot using a graphics device and returns the plot.
setDTSets data.table's column value to value and returns the...
setDTcolorderSets columns ordering in dt
settingClassSets class(x) to c and returns x.
stampStringReturns a timestamp string with the tzone appended.
strInsertAfterIndexInserts what after a non-negative index i in string s....
strInsertBeforeIndexInserts what before positive index i in string s. Vectorized...
strsWorks like 'str(object, ...)' but prints to String rather...
strWrapAllWraps every occurence of the pattern with a prefix and a...
sysSleepingReturns a decorator of f that sleeps time (in seconds) before...
userInstalledPackagesGets user installed packages.
withDTcolsBuilds a data.table by using only cols of dt
withoutDTcolsBuilds a data.table by removing cols of dt
withStrTakes a vector of Strings and returns a new vector with a new...
kongra/koR documentation built on April 23, 2018, 1:14 p.m.