Learn R Programming

sad (version 0.1.3)

sadforecast: class for a list of forecasts

Description

check that a list of forecasts fulfills all requirements to be verified by our method

Usage

as.sadforecast(x)

# S3 method for sadforecast plot(x, mfrow = NULL, col = NULL, ...)

Arguments

x

a list of 2 or more 2D matrices with equal sizes and no missing or inifinite values

mfrow

vector with the number of rows and columns you would like in the plot

col

color scale for the plot

...

further arguments passed to image

Value

an object of class sadforecast

Details

as.sadforecast does nothing except check that everything is as it should be, add the attributes that can be changed by prepare_sad and provide a method for quick plots of the data.

Examples

Run this code
# NOT RUN {
data( rrain )
ra <- list( rrain[1,1,,], rrain[4,5,,], rrain[2,7,,] )
ra <- as.sadforecast(ra)
plot(ra)
# }

Run the code above in your browser using DataLab