te {BNSP}R Documentation

mgcv constructor te

Description

Provides interface between mgcv::te and BNSP. te(...) calls mgcv::smoothCon(mgcv::te(...),...

Usage

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)

Arguments

...

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

Details

The most relevant arguments for BNSP users are the list of variables ..., knots, absorb.cons, bs, and by.

Value

A design matrix that specifies a smooth term in a model.

Author(s)

Georgios Papageorgiou gpapageo@gmail.com


[Package BNSP version 2.1.6 Index]