twMisc-package: TWs development utilities

Description Details Author(s)

Description

Utilities used during package development.

Details

Functionality of package twMisc
  • 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

Author(s)

Thomas Wutzler


twMisc documentation built on May 2, 2019, 6:11 p.m.