Description Usage Arguments Value Details Author(s) Examples
View source: R/plot.ds.mixture.R
Plots the detection function (or pdf) of a fitted mixture model detection function, optionally overlayed on a histogram of the observed data.
1 2 3 4 5 6 |
x |
a |
style |
If set to "comp", composite plots of the detection function will be shown for the detection function (the averaged detection function in the covariate case). |
main |
(A vector of) title(s) for the plot(s). By default these are set by the function (and are fairly ugly but descriptive). |
breaks |
Breaks to be used for the histogram. This
can be a vector of numbers or any of the permissable
options used in |
ylim |
Used to manually set the y limit of the plot. Defaults to NULL. |
xlim |
Used to manually set the x limit of the plot. Defaults to NULL. |
pdf |
Should the pdf be plotted rather than detection function be plotted? Only really useful with point transect data. Defaults to FALSE. |
plot.formula |
Formula of covariates to be plotted.
Defaults to |
hide.hist |
Should the histogram be hidden, leaving only the detection function (or pdf) to be plotted? Defaults to FALSE. |
nomf |
Should the mfrow value be altered? Useful when creating custom plots for publication. Defaults to FALSE (yes, change the mfrow value). |
x.axis |
Set the x axis labels. Again, useful for publication plots. Defaults to NULL, which uses the default R values. |
xlab |
Label for the x axis. |
ylab |
Label for the y axis. |
... |
not used at the moment |
a plot!
For covariate models, all the levels of factor variables are plotted or the 25, 50 and 75th percentiles of continuous variables are plotted averaged over the values of the other covariates.
David L, Miller
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.