Miscellaneous helper functions for B. Bischl.


[Up] [Top]

Documentation for package ‘BBmisc’ version 1.1-166

Help Pages

%nin% Simply a negated 'in' operator.
addClasses A wrapper to add to the class attribute.
catf Wrapper for cat and sprintf.
cFactor Combine multiple factors and return a factor.
checkArg Check for a function argument.
checkListElementClass Check that a list contains only elements of a required type.
chunk Chunk elements of vectors into blocks of nearly equal size.
coalesce Returns first non-missing, non-null argument.
collapse Collapse vector to string.
computeMode Compute statistical mode of a vector (value that occurs most frequently).
convertInteger Conversion for single integer.
convertIntegers Conversion for integer vector.
extractSubList Extracts a named element from a list of lists.
insert Insert elements from one list into another list.
is.error Is return value of try an exception?
isDirectory Is one / are several files a directory?
isEmptyDirectory Is one / are several directories empty?
isExpensiveExampleOk Conditional checking for expensive examples.
isFALSE A wrapper for 'identical(x, FALSE)'.
isProperlyNamed Are all elements of a list / vector uniquely named?
listToShortString Converts list to short string describing contents.
load2 Load RData file and return objects in it.
lsort A wrapper for 'sort' to sort using the "C" collating rules.
makeProgressBar Create a progress bar with estimated time.
messagef Wrapper for message and sprintf.
namedList Create named list, possibly initialized with a certain element.
parallelExport Export a larger object which is needed in slave code of 'parallelMap'.
parallelGetExported Retrieve a with 'parallelExport' exported in slave code.
parallelMap Maps a function over lists or vectors in parallel.
parallelStart Parallelization setup for parallelMap.
parallelStop Stops parallelization.
printToChar Prints object to a string / character vector.
ProgressBar Create a progress bar with estimated time.
requirePackages Require some packages.
save2 Save multiple objects to a file.
setClasses A wrapper for 'class(x) = classes'.
setColNames Wrapper for 'rownames(x) = y', 'colnames(x) = y'.
setRowNames Wrapper for 'rownames(x) = y', 'colnames(x) = y'.
splitTime Split seconds into handy chunks of time.
stopf Wrapper for stop and sprintf.
stringsAsFactors Convert all character columns in data.frame to factors.
suppressAll Suppresses all output except for errors.
system3 Wrapper for system2 with better return type and errorhandling.
warningf Wrapper for warning and sprintf.