For a typical sandwich smooth (sts = FALSE
),
for two-dimensional data, data[i, j]
is assumed
to be observed at position x[[1]][i]
,
x[[2]][j]
. If the data are a spatial time series,
then the first dimension is assumed to refer to space,
and the second dimension to time. In that case,
data[i, j]
is assumed
to be observed at location x[[1]][i, ]
and time
x[[2]][j]
.
If sts = TRUE
, then x[[1]]
should be a
matrix of spatial coordinates, with each row
corresponding to a location, and x[[2]]
should
be a vector with the observation times.
If x
is not supplied, then
default.evalargs
is used to create it
automatically. This is only valid when
sts = FALSE
.
If splines
is not supplied, then a B-spline basis
is automatically created for each dimension using
default.splines
. This is only valid when
sts = FALSE
.