Custom packages and functions for R
These packages are created principally for use by my research group and colleagues, specifically at the USGS Grand Canyon Monitoring and Research Center and, increasingly, at the Alaska Rivers Lab at the University of Alaska Fairbanks, to facilitate common R
tasks that we carry out with some regularity.
Current list of packages:
plots: Convenience functions for common plotting operations
bugR: Functions for common ecological analyses of invertebrate data
foodbase: Functions for reading and working with Foodbase data
GCgage: Functions for downloading data from Grand Canyon area gages.
packload: Function for more easily installing, updating, and loading packages.
trueAIC: Function for comparing AICs from log-transformed response models vs. similar linear versions.
The trueAIC
function is currently only available as a sourceable function (not embedded in a package). The packload
function is sourceable too but is also embedded within the foodbase
package. Sourceable functions can be accessed in R using the following code (replace FUNCTIONNAME with the name of the function of interest):
source('https://github.com/jmuehlbauer-usgs/R-packages/blob/main/FUNCTIONNAME.r?raw=TRUE')
There is also some How-To code that explains how building and installing these packages from GitHub works.
Improvements, additions, and suggestions are welcomed.
Disclaimer:
This software is in the public domain because it contains materials that originally came from the U.S. Geological Survey (USGS), an agency of the United States Department of Interior. For more information, see the official USGS copyright policy. Although this software program has been used by the USGS, no warranty, expressed or implied, is made by the USGS or the U.S. Government as to the accuracy and functioning of the program and related program material nor shall the fact of distribution constitute any such warranty, and no responsibility is assumed by the USGS in connection therewith. This software is provided "AS IS."