rod,FLQuant-method | R Documentation |
Regime shifts Evidence for regime shifts are explored using a a sequential t-test algorithm (STARS; rodionov2004sequential) as modified by Szuwalski et al., (submitted)
## S4 method for signature 'FLQuant'
rod(object, ...)
object |
an object of class |
... |
any other arguments |
Returns a data.frame
## Not run:
object=rlnorm(1,FLQuant(0,dimnames=list(year=1:30)),.3)
pg=rod(object)
ggplot(object) +
geom_polygon(aes(year,data,group=regime),
fill="lavender",col="blue",
lwd=.25,data=pg,alpha=.75)+
geom_point(aes(year,data))+
geom_line(aes(year,data))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.