Description Usage Arguments Value Examples
View source: R/plotting_functions.R
Plot 2D closed likelihood given a range for pdet and for lambda.
1 2 | plot_2d_red_like_closed(nit, startPdet, endPdet, stepsizePdet, startLambda,
endLambda, stepsizeLambda, red, K)
|
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. |
stepsizePdet |
Spacing between values of pdet |
startLambda |
Starting value for lambda. |
endLambda |
Ending value for lambda. |
stepsizeLambda |
Spacing between values of lambda |
red |
Reduction factor r. |
K |
Upper bound on summations (reduced counts upper bound). |
Returns a matrix of likelihoods where rows represent pdet, and columns represent lambda.
1 2 3 | set.seed(12345)
Y <- gen_Nmix_closed(15,15,150,0.5)
L <- plot_2d_red_like_closed(reduction(Y$nit,10), 0.05, 1.0, 0.05, 10, 250, 10, 10, reduction(400,10))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.