View source: R/useful_commands.R
spT.segment.plot | R Documentation |
This function is used to obtain scatter plots with 95 percent CI for predictions/forecasts.
spT.segment.plot(obs, est, up, low, limit = NULL)
obs |
Observed values. |
est |
Estimated values. |
up |
Upper limit of the estimated values. |
low |
Lower limit of the estimated values. |
limit |
x-axis and y-axis limits. |
summary.spT, plot.spT
.
##
obs<-rnorm(10,15,1)
est<-rnorm(10,15,1.5)
up<-rnorm(10,25,0.5)
low<-rnorm(10,5,0.5)
spT.segment.plot(obs,est,up,low,limit=c(0,30))
##
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.