The Time-Varying (Right-Truncated) Geometric Distribution

Probability mass (d), distribution (p), quantile (q), and random number generating (r and rt) functions for the time-varying right-truncated geometric (tvgeom) distribution. Also provided are functions to calculate the first and second central moments of the distribution. The tvgeom distribution is similar to the geometric distribution, but the probability of success is allowed to vary at each time step, and there are a limited number of trials. This distribution is essentially a Markov chain, and it is useful for modeling Markov chain systems with a set number of time steps.


News

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("tvgeom")

1.0.0 by Vincent Landau, 7 days ago


Browse source code at https://github.com/cran/tvgeom


Authors: Vincent Landau [aut, cre] , Luke Zachmann [ctb] , Conservation Science Partners , Inc. [cph]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports utils, knitr, testthat

Suggests ggthemes, ggplot2, dplyr, tidyr, purrr, magrittr, gridExtra


See at CRAN