ti {BNSP}R Documentation

mgcv constructor ti

Description

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

Usage

ti(..., 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, mc = NULL, pc = NULL)

Arguments

...

a list of variables. See mgcv::ti

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::ti

bs

see mgcv::ti

m

see mgcv::ti

d

see mgcv::ti

by

see mgcv::ti

fx

see mgcv::ti

np

see mgcv::ti

xt

see mgcv::ti

id

see mgcv::ti

sp

see mgcv::ti

mc

see mgcv::ti

pc

see mgcv::ti

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.2.3 Index]