Tools for simulating different methods of observing behavior based on alternating renewal processes
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R
data
demo
inst
man
rsconnect/shinyapps.io/jepusto
tests
vignettes
.Rbuildignore
.gitignore
.travis.yml
DESCRIPTION
NAMESPACE
NEWS
PIR_MOM_test.Rmd
PIR_MOM_test.html
README.md
cran-comments.md

README.md

Travis-CI Build Status Coverage Status CRAN_Status_Badge

ARPobservation provides a set of tools for simulating the sort of data generated during direct observation of a behavior over time. It works by first simulating a behavior stream based on an alternating renewal process, given specified distributions of event durations and interim times. The following distributions are currently supported:

  • Exponential
  • Gamma with fixed shape parameter
  • Mixture of two gammas
  • Weibull with fixed shape parameter
  • Uniform(0,x)
  • Constant (degenerate)

Different methods of recording data can then be applied to the simulated behavior stream. Functions are provided for the following recording methods:

  • continuous duration recording
  • event counting
  • momentary time sampling
  • partial interval recording
  • whole interval recording