Utilities used during package development.
providing common colors and styles: twXlscol07
create a sequence based on a range c(min,max): seqRange
merge several sequences to a single sequence: twMergeSequences
recursively merge a named list or vector to another: twMergeLists
assign first variable of RData-file into a variable: loadAssign
reorder factor levels: reorderFactor
format to significant number of digits including trailing zeros: formatSig
adds or replaces value in a vector: vectorElements<-
extracting data frame column while keeping rownames: dfcol
Retrieving and stripping filename extension : fileExt
,twStripFileExt
Error handling based on classes: userError
Array slicing: twExtractDim
RUnit tests for: Number inside Intervals: checkInterval
and same magnitude checkMagnitude
testthat tests for: Number inside Intervals: expect_isInInterval
and same magnitude expect_isOfMagnitude
debugging: traceback.curr
, and in parallel: dumpOnError
errors/exceptions with specialized classes: stopCustom
and stopTwMisc
working with constants: twEnumNames
support for working with ODEs: twIntegrateTS
Optimizing a function where first argument is an index.: twBinOptimize
plotting routines: twPairs
matching by closest value: matchClosest
dealing with summer/winter time: strptimeNoSummer
extracting from arrays: twExtractDim
plotting image with row and column names: imageNames
evaluating a function over a density adapted 2D grid for plotting: twApply2DMesh
annotating a plot with arrows and text: locateArrowText
convert integer vector to string with prescribed leading characters: asCharacterWithLeading
helping with the parallel package: parLapplySave
, dumpOnError
fast specialized abind: abind3DAlong2
, abind4DAlong3
Thomas Wutzler
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.