plot_red_like_closed_lambda: plot_red_like_closed_lambda

Description Usage Arguments Examples

View source: R/plotting_functions.R

Description

Plot likelihood given a pdet and range for lambda.

Usage

1
2
plot_red_like_closed_lambda(nit, startLambda, endLambda, stepsize, pdet,
  red, K)

Arguments

nit

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

startLambda

Starting value for lambda.

endLambda

Ending value for lambda.

stepsize

Spacing between values of lambda

pdet

Probability of detection (pdet = 0.5 means 50% chance of detection)

red

Reduction factor.

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_lambda(nit=reduction(Y$nit,10), startLambda = 150, endLambda = 350, stepsize=10, pdet = 0.5, red = 10, K = reduction(400,10))

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