mask.test | R Documentation |
Creates a diagnostic plot that can be used to test the adequacy of a mask for a first calls model.
mask.test( fit = NULL, mask, traps, pars, cutoff, lower.cutoff, surface = FALSE, col = c("black", "blue", "red"), pincol = "red", ... )
fit |
A fitted model from fit.ascr. |
mask |
A matrix with two columns, or a list of such matrices for a multi-session model. Each row provides Cartesian coordinates for the location of a mask point. It is most easily created using create.mask. |
traps |
A matrix with two columns. Each row provides Cartesian coordinates for the location of a detector. Alternatively, this can be a list of such matrices if detections from multiple detector arrays (or ‘sessions’) are being used to fit a single model. |
pars |
A named list. Component names are parameter names, and
components are values of parameters at which the mask is to be
tested. Parameters must include |
cutoff |
The upper cutoff value; see fit.ascr for further details. |
lower.cutoff |
The lower cutoff value; see fit.ascr for further details. |
surface |
Logical, if |
col |
Colours of points. Three colours are required if
|
pincol |
Colour of pins when |
... |
Arguments to be passed to plot. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.