make_unvd: Generate datavectors used in Pradel likelihood calculations.

Description Usage Arguments Value

View source: R/make_unvd.R

Description

This function takes an observation matrix Obs and generates the vectors u,n,v needed to calculate the Pradel likelihood. Used internally by other functions.

Usage

1
make_unvd(Obs)

Arguments

Obs

a matrix with size number of taxa by number of intervals. Each taxa has a row with 0's (unobserved) and 1's (observed) for each interval in the analysis.

Value

a list containing Obs, u,n,v and d.


josteist/Compadre documentation built on June 3, 2021, 1:02 p.m.