| summary.mat | R Documentation | 
summary method for class "mat".
## S3 method for class 'mat'
summary(object, k = 10,
        digits = max(2, getOption("digits") - 4), ...)
| object | an object of class  | 
| k | numeric; maximum modern analogues to use to summarise model fits. | 
| digits | numeric; the number of significant digits with which to format results. | 
| ... | arguments passed to or from other methods. | 
A list with the components below. The number of analogues used,
k is returned as attribute "k".
| summ | a data.frame containing the model fits for training set samples. See notes below. | 
| tbl | matrix of summary statistics for an un-weighted model. | 
| tbl.W | matrix of summary statistics for a weighted model. | 
| call | the matched function call | 
| quantiles | the quantiles of the distribution of pairwise
dissimilarities for the training set, for  | 
The returned component "summ" contains the following:
the observed responses for the training set samples.
the fitted values of the response for training set samples based on the average of k-closest analogues.
the residuals of the fitted model based on the average of k-closest analogues.
the fitted values of the response for training set samples based on the weighted average of k-closest analogues.
the residuals of the fitted model based on the weighted average of k-closest analogues.
dissimilarity of closest analogue in training set for each training set sample.
smallest residual for an un-weighted model of size
"k".
size of model leading to minimal residual,
"minResi".
smallest residual for a weighted model of size
"k.W".
size of model leading to minimal residual,
"minW.Resi".
Gavin L. Simpson
mat, summary.
## Not run: 
## 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")
swap.mat
## model summary
summary(swap.mat)
## model summary - evaluating models using k = 1, ..., 20
## analogues instead of the default, 10.
summary(swap.mat, k = 20)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.