sadforecast: class for a list of forecasts

Description Usage Arguments Details Value Examples

Description

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

Usage

1
2
3
4
as.sadforecast(x)

## S3 method for class '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

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.

Value

an object of class sadforecast

Examples

1
2
3
4
data( rrain )
ra <- list( rrain[1,1,,], rrain[4,5,,], rrain[2,7,,] )
ra <- as.sadforecast(ra)
plot(ra)

sad documentation built on Nov. 8, 2020, 4:25 p.m.

Related to sadforecast in sad...