plot_red_like_closed_pdet: plot_red_like_closed_pdet

Description Usage Arguments Examples

View source: R/plotting_functions.R

Description

Plot likelihood given a lambda and range for pdet.

Usage

1
2
plot_red_like_closed_pdet(nit, startPdet, endPdet, stepsize, lambda, red,
  K)

Arguments

nit

R by T matrix of reduced counts with R sites/rows and T sampling occassions/columns.

startPdet

Starting value for pdet.

endPdet

Ending value for pdet.

stepsize

Spacing between values of pdet

lambda

Initial abundance parameter.

red

Reduction factor r.

K

Upper bound on summations (reduced counts upper bound).

Examples

1
2
Y <- gen_Nmix_closed(5,5,250,0.5)
plot_red_like_closed_pdet(nit=reduction(Y$nit,10), startPdet = 0.1, endPdet = 1.0, stepsize=0.1, lambda = 250, red = 10, K = reduction(400,10))

mrparker909/redNMix documentation built on April 4, 2020, 12:24 a.m.