Learn R Programming

analogue (version 0.3-3)

summary.predict.mat: Summarising MAT model predictions

Description

summary method for objects of class "predict.mat".

Usage

## S3 method for class 'predict.mat':
summary(object, ...)

Arguments

object
an object of class "predict.mat", usually the result of a call to predict.mat.
...
arguments passed to or from other methods.

Value

Details

Currently a simple wrapper for summary.bootstrap.

See Also

predict.mat, mat, bootstrap and summary.

Examples

Run this code
## continue the RLGH example from ?join
example(join)

## fit the MAT model using the squared chord distance measure
swap.mat <- mat(swapdiat, swappH, method = "SQchord")

## predict for RLGH data
swap.pred <- predict(swap.mat, rlgh, bootstrap = FALSE)
summary(swap.pred)

## again but with bootstrap estimates and sample specific errors
swap.pred <- predict(swap.mat, rlgh)
summary(swap.pred)

Run the code above in your browser using DataLab