Description Usage Arguments Value
View source: R/pradel_unvd_gam.R
Internal function used to calculate the likelihood of the Pradel CMR model using the seniority as input.
1  | pradel_unvd_gam(gam, ext, p, u, n, v, d, minval = 1e-05)
 | 
gam | 
 Seniority in the Pradel model. Either one value or one for each of the n-1 last intervals.  | 
ext | 
 Extinction probabilities. Same size as fec.  | 
p | 
 Sampling probabilities.  | 
u, n, v, d | 
 Values for number observations, each of length equal to number of intervals. u - number of taxa first observed, n - number of taxa observed, v - number of taxa observed for last time. d should be vector of 0's.  | 
minval | 
 Minimum probabilities used for calculations. No probabilities are allowed be be smaller than minval or larger than 1-minval. Defaults to 1e-5.  | 
Returns $LogL (log likelihood), and $Ll.numerator and $Ll.denominator.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.