Donovan.7 | R Documentation |
An example occupancy data set used as exercise 7 in the occupancy website developed by Donovan and Hines.
A data frame with 20 observations (sites) on the following 2 variables.
a character vector containing the presence (1) and absence (0) for each of 5 visits to the site
frequency of sites (always 1)
This is a data set from exercise 7 of Donovan and Hines occupancy web site (https://blog.uvm.edu/tdonovan-vtcfwru/occupancy-estimation-and-modeling-ebook/).
# Donovan.7 can be created with # Donovan.7=convert.inp("Donovan.7.inp") do.exercise.7=function() { data(Donovan.7) # Estimates from following agree with estimates on website but the # log-likelihood values do not agree. Maybe a difference in whether the # constant binomial coefficients are included. Donovan.7.poisson=mark(Donovan.7,model="OccupRNPoisson",invisible=FALSE,threads=1,delete=TRUE) # THe following model was not in exercise 7. Donovan.7.negbin=mark(Donovan.7,model="OccupRNNegBin",invisible=FALSE,threads=1,delete=TRUE) return(collect.models()) } exercise.7=do.exercise.7() # Remove # to see output # print(exercise.7)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.