regression_g: Generalized additive model function gam() fits the observed...

Description Usage Arguments Value

View source: R/functions.R

Description

Generalized additive model function gam() fits the observed binary-valued functional data by fitting a GLMM using a set of known basis functions

Usage

1
regression_g(z, Curves, tt, k = 10, method = "REML", bs0 = "cr")

Arguments

z

index z = 1,...,N

Curves

N x D matrix of observed binary series

tt

grid of timepoints going from 0 to 1 with D observations

k

number of basis functions

method

method used to evaluate the gam

bs0

type of basis functions used in the gam

Value

Fitted values from the game function for subject z


acweisha/gFPCAClassif documentation built on Dec. 18, 2021, 10:23 p.m.