spTimer (version 3.3)

spT.segment.plot: Utility plot for prediction/forecast

Description

This function is used to obtain scatter plots with 95 percent CI for predictions/forecasts.

Usage

spT.segment.plot(obs, est, up, low, limit = NULL)

Arguments

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.

See Also

summary.spT, plot.spT.

Examples

Run this code
# NOT RUN {
<!-- %\dontrun{ -->
# }
# NOT RUN {
##

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)) 

##
# }
# NOT RUN {
<!-- %} -->
# }

Run the code above in your browser using DataCamp Workspace