Software to Implement Resource Utilization Function Estimation
This directory contains R software to
implement the statistical methods described in the paper
Resource utilization by an avian nest predator: relating resources to a
probabilistic measure of animal space use,
by
John M. Marzluff, J. J. Millspaugh, P. Hurvitz, and Mark S. Handcock.
Ecology, 2004, 85:1411-1427.
The software can be used freely for non-commercial
purposes. You may modify and distribute the code for
NON-commercial purposes, as long as this
statement
and the contact information is included.
While this software has now been developed and used
by the authors and others, a new user may well
experience some problems or bugs. Please report these by email
to
handcock@stat.ucla.edu,
and we will work with you to resolve the problem.
The software:
- The R package called ruf should be
installed from within R. It is software
to estimate resource utilization function from point measurements of use
and related functions. Also functions to estimate summary
measures and their uncertainties.
- The package is hosted on GitHub and so the easiest thing to do is to go to that site: https://github.com/handcock/ruf
- To install the ruf package from GitHub when you have Rtools4.0 installed, simply open R and type
if (!requireNamespace("remotes")) install.packages("remotes")
remotes::install_github("handcock/ruf")
- If that fails you can try the pre-compiled versions via:
install.packages("ruf",repos="http://www.stat.ucla.edu/~handcock")
- Once the package has been downloaded and installed,
it can be used by typing the call
library(ruf)
To see help on the functions type:
help(ruf.fit)
- rufexample.r:
This is an example R program to reconstruct the
analysis in the paper. It estimates the parameters of the model
and related measures of uncertainty.
This requires the above ruf package.
- Here is the reference manual
for the ruf package.
Description of programs, and further information about the data sets,
can be found in the paper.