te | R Documentation |
te
Provides interface between mgcv::te and BNSP. te(...)
calls
mgcv::smoothCon(mgcv::te(...),...
te(..., data, knots = NULL, absorb.cons = FALSE, scale.penalty = TRUE,
n = nrow(data), dataX = NULL, null.space.penalty = FALSE, sparse.cons = 0,
diagonal.penalty = FALSE, apply.by = TRUE, modCon = 0, k = NA, bs = "cr",
m = NA, d = NA, by = NA, fx = FALSE, np = TRUE, xt = NULL, id = NULL,
sp = NULL, pc = NULL)
... |
a list of variables. See mgcv::te |
data |
see mgcv::smoothCon |
knots |
see mgcv::knots |
absorb.cons |
see mgcv::smoothCon |
scale.penalty |
see mgcv::smoothCon |
n |
see mgcv::smoothCon |
dataX |
see mgcv::smoothCon |
null.space.penalty |
see mgcv::smoothCon |
sparse.cons |
see mgcv::smoothCon |
diagonal.penalty |
see mgcv::smoothCon |
apply.by |
see mgcv::smoothCon |
modCon |
see mgcv::smoothCon |
k |
see mgcv::te |
bs |
see mgcv::te |
m |
see mgcv::te |
d |
see mgcv::te |
by |
see mgcv::te |
fx |
see mgcv::te |
np |
see mgcv::te |
xt |
see mgcv::te |
id |
see mgcv::te |
sp |
see mgcv::te |
pc |
see mgcv::te |
The most relevant arguments for BNSP users are the list of variables ...
, knots
, absorb.cons
, bs
, and by
.
A design matrix that specifies a smooth term in a model.
Georgios Papageorgiou gpapageo@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.