# \donttest{
data("datacerardat")
resultat = cerardat(df = datacerardat$df,
row.sup = datacerardat$row.sup,
date = datacerardat$date,
nf = NULL,
confidence = 0.95,
graph = TRUE
)
#See the first plot
plot(resultat, which = 1)
plot(resultat,
which = 1,
xlim = c(200, 700),
ylim = c(0, 0.03),
col1 = rgb(0.7, 0.7, 0.7, 0.6),
col2 = "black",
las = 1,
ov = "bottomright"
)
abline(v = resultat$prediction$date[1], col="grey60", lty=1)
abline(v = resultat$prediction$Fit_dateEv[1], col="grey60", lty=2)
abline(v = resultat$prediction$Median_dateAc[1], col="grey60", lty=3)
legend("topright",
legend=c("Date coin", "DateEv", "DateAc"),
col="grey60",
lty=c(1, 2, 3)
)
plot(resultat, which = 1, ov = "none")
text(x=600,y=0.01,labels=paste0("overlap: ",resultat$prediction$overlap,"%"),cex=0.8,col="grey20")
#See the first 10 plots
#plot(resultat, which = 1:10)
#See all plots
#plot(resultat)
# }
Run the code above in your browser using DataLab