plot.CTMCdive | R Documentation |
Plot models fitted by CTMCdive
.
## S3 method for class 'CTMCdive'
plot(
x,
quant = 1,
pick = NULL,
pred = NULL,
xlim = NULL,
se = FALSE,
n_samp = 200,
pch = 19,
cex = 0.6,
...
)
x |
fitted CTMCdive model x |
quant |
the quantile to plot the observed data up to, for example if set to 0.95 then only the durations up to the 95% quantile are plotted (prevents outliers dominating the plot) |
pick |
if not |
pred |
if predicted means already computed can supply them here rather than have them recomputed |
xlim |
limits for x axis if you want to restrict range |
se |
display uncertainty bands around the lines (takes time to compute) |
n_samp |
number of posterior samples to use if |
... |
unused (for S3 compatability) |
plots of dive and surface durations or only one of if "pick
" is specified
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.