Description Usage Arguments Examples
Plot objects of class Data4M
or Model4M
.
1 2 3 4 5 6 7 | ## S4 method for signature 'Data4M,character'
plot(x, y, ask = interactive(),
Viterbi.Path = NA, N.States = 0, h = 0.25, ...)
## S4 method for signature 'Model4M,character'
plot(x, y, h = 0.25, ask = interactive(),
palette = "Set1", ...)
|
x |
An object of class |
y |
A character vector choosing which plots to draw. Can be any combination of |
ask |
Wait for input to switch to next plot? |
Viterbi.Path |
State path used to color locations. Not typically entered by the user. |
N.States |
The number of states used in the model. Not typically entered by the user. |
h |
Vector of bandwidth for residual density plots. See |
... |
Optional arguments used to control internal plotting functions, such as
|
palette |
If using package |
1 2 3 4 5 6 7 8 9 10 11 12 | sealdata<- data4M(greyseal)
sealdata<- interpolate(sealdata,Time.Step = 1)
plot(sealdata,ask = F)
plot(sealdata,"data",log = T,lag = 2,N.Grid.Lines = 150,N.Greys = 30)
plot(sealdata,"locations",pch = 11,lty = 4,col = "red")
seal4M3<- fit(sealdata,N.States = 3)
plot(seal4M3,ask = F)
plot(seal4M3,"residuals")
library(RColorBrewer)
plot(seal4M3,"locations",palette = "Dark2")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.