README.md

ExtinctModels

R-CMD-check

The goal of ExtinctModels is to build an extension to the sExtinct-package (by Christopher Clements c.clements@outlook.com) , adding new equations, and new tools to use these models in a different spatial scale. In the last term, add environmental variables. This package is in the first steps. Expecting to be developed in the next year.

Installation

You can not install the released version of ExtinctModels from CRAN with:

install.packages("ExtinctModels")

And the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("Clara-Casabona/ExtinctModels")

Example

This is a basic example which shows you how to solve a common problem:

library(ExtinctModels)
## basic example code
sightingdata <- data.frame(year= c(1903, 1905, 1907, 1910, 1915, 1917), sightings = c(1,2,1,1,2,1))

OLE(sightingdata, 0.05)
#> $Estimate
#> [1] 1922.01
#> 
#> $lowerCI
#> [1] 1917.472
#> 
#> $upperCI
#> [1] 1956.335
#> 
#> attr(,"class")
#> [1] "extmod"
#> attr(,"row.names")
#> [1] 1


Clara-Casabona/ExtinctModels documentation built on Dec. 17, 2021, 2:05 p.m.