Learn R Programming

spTimer (version 0.02)

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

spT.MCMC.plot, spT.MCMC.stat.

Examples

Run this code
##

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

##

Run the code above in your browser using DataLab