A small package containing helper utilities for creating function for computing statistics.
dostats R package is a compilation of helper utilities for computing statistics and operating
on R as a language. It is particularly helpful with packages like
plyr, but is useful anytime that simple functions have to
There are at present four functions of note.
dostatscreates a function that returns a single line
data.framefrom a list of functions.
composecreatea a functional composition of an arbitrary number of functions nesting each call withing the other.
%.%is a opperator alias for composition of two functions.
f%.%gis equivalant to
function(x)f(g(x)). There are helper functions for compose that assist in creating functions
wargsspecifies new default arguments.
onargspecifies the argument that should be first in the formals list.
seq_consecutivewill create a vector form a source vector than incriments every time the source vector changes.
.Tis a helper function for creating character vectors without having to insert quotes.
seq_consecutive follows a vector incrimenting every time there is a change in the source vector.
.T is a helper function for creating non quoted character vectors.
Initial Release 2/8/2012
contains two primary functions