probcomb: Sums probability age value pairs into a single pmf

Description Usage Arguments Value

View source: R/utils.R

Description

Given a matrix of probability and age value pairs (x), and a vector of years (y), returns a pmfs of length(y)

Usage

1
probcomb(x, y)

Arguments

x

is a matrix of probability and age pairs

y

is a numeric vector of years

Value

a numeric vector of length(years) with value of sum probability age is less than year i in y and greater than year i-1


crumplecup/muddier documentation built on Aug. 18, 2021, 11:02 a.m.