runlist {hydromad}R Documentation

Work with a set of model runs

Description

A runlist object is simply a list of model objects.

Usage

runlist(...)

as.runlist(x, ...)

## S3 method for class 'runlist'
coef(object, ..., items = NULL)

## S3 method for class 'runlist'
summary(object, ..., FUN = summary, items = NULL)

## S3 method for class 'runlist'
residuals(object, ...)
## S3 method for class 'runlist'
fitted(object, ...)

Arguments

...

for runlist, a named list of model objects, specified directly as in list.

In other cases, arguments are passed on to the generic functions.

x

a simple list.

object

a runlist: a list of fitted model objects.

FUN

function returning one or more named numeric values. Any returned values other than single numeric values will be ignored.

items

if given, this is used to extract elements of the result from FUN; otherwise, all single numeric elements are extracted.

Details

Note that the coef method just calls summary(..., FUN = coef).

Value

runlist and as.runlist return a list of class runlist and also (firstly) class.runlist, where class is the first class of the first element of the list.

summary and coef return a data frame, with rows for each element of object and columns for each named item returned by FUN. Any missing items will filled in with NA.

Author(s)

Felix Andrews felix@nfrac.org

See Also

xyplot.runlist, coef.hydromad, summary.hydromad

[Package hydromad version 0.9-18 Index]