Description Usage Arguments Value Author(s)
Create a matrix or data.frame to a valid dataset of class sss for spatial smoothing splines. Those dataset can be used later by functions s2D for tensor product (natural) cubic splines or p-splines, and scp for estimating spatial smoothing splines models.
1 2 3 4 |
X |
a matrix or data-frame. Every row must correspond to a point location in a two-dimensional space (coordinates). Coordinates columns can be included in |
coords |
two-columns numeric matrix of coordinates (optional). |
data |
a data-frame containing the variables measured at the locations given by |
coords.col |
numeric vector. The number of columns in |
data.col |
numeric vector. The number of columns in |
... |
slots elements to create a new |
x |
an object to check validity as member of class |
a data-frame containing the variables measured at the locations given by coords
.
a matrix containing the two columns of observed coordinates for the data.
a grid matrix containing the two columns of coordinates.
a named list with the design points (knots) in every coordinate. Equivalent to a grid.list
object.
a spatial incidence matrix. If contract=TRUE
it is W_{ij}, otherwise W_{ji}.
logical. The same value as the argument contract
.
logical. If the coordinates are observed at regular points it is TRUE
, FALSE
otherwise (missing coordinates in any direction).
Mario A. Martinez Araya, r@marioma.me
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.