BNPR_samp_only: Nonparametric estimate of sampling intensity

Description Usage Arguments

View source: R/calculate.R

Description

Nonparametric estimate of sampling intensity

Usage

1
2
BNPR_samp_only(data, lengthout = 100, grid = NULL, tmrca = NULL,
  prec_alpha = 0.01, prec_beta = 0.01)

Arguments

data

phylo object or list containing vectors of sampling times samp_times and number sampled per sampling time n_sampled.

lengthout

numeric specifying number of grid points.

grid

numeric vector of endpoints of the latent field.

tmrca

numeric optional value to specify end of grid. Useful for having the same grid as a coalescent inference.

prec_alpha, prec_beta

numerics specifying gamma prior for precision κ.


mdkarcher/phylodyn documentation built on Nov. 24, 2021, 12:20 a.m.