Description Usage Arguments Details
Provides smoothing methods for multidimensional scaling-based projections of the data.
1 2 | ## S3 method for class 'msg.smooth'
Predict.matrix(object, data)
|
object |
a smooth specification object, usually generated by a term
|
data |
a list containing just the data (including any |
Usage is split into two cases: (1) For geographical smooths of two coordinates, within-area distances with respect to the boundary are used to create a distance matrix that is then projected into as many dimensions as required. (2) General distance smoothing where distances are calculated between observations based on all covariates supplied using Euclidean or Mahalanobis distances.
In both cases smoothing is performed using Duchon splines (see
Duchon.spline
for more information).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.