This package provides routines for parameter estimation and model diagnostics for any probability density or mass function implemented in R via maximum likelihood given a data set, with or without covariates. Tools in this package have general applicability, especially in survival analysis and distance sampling.
GPL-3.0 License
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
The goal of EstimationTools
is to provide tools and routines for maximum likelihood estimation of probability density/mass functions in R
.
file <- readtext::readtext('DESCRIPTION')
text <- file$text
mysubstring <- regmatches(text, gregexpr("\nVersion:(.+)\n", text, perl = TRUE))
split1 <- strsplit(mysubstring[[1]], split = '\n')
split2 <- strsplit(split1[[1]][2], split = ' ')
myversion <- split2[[1]][2]
You can install the latest version (r myversion
) of EstimationTools
typing the following command lines
in R
console:
if (!require('devtools')) install.packages('devtools')
devtools::install_github('Jaimemosg/EstimationTools', force = TRUE)
library(EstimationTools)
Or you can install the released version (4.0.0) from CRAN if you prefer. You can also type the following command lines
in R
console:
install.packages("EstimationTools")
You can visit the package website to explore the functions reference and our vignettes (articles).
You can visit our estimation vignette to see the examples.