R language analysis functions used across projects by Mark E. Madsen.