Pspline: Penalized B-spline function

Description Usage Arguments

View source: R/Pspline.R

Description

Penalized B-spline function

Usage

1
Pspline(y, H, lambda.range, B, available.indx, degree.spline)

Arguments

y

Response matrix of the penalized logistic regression

H

Design matrix of the penalized logistic regression

lambda.range

Range of lambda (Tuning parameter)

B

A set of basis functions (K x q matrix)

available.indx

A list of observed time points

degree.spline

Degree of splines. Default is 3 (cubic splines).


jihuilee/VCERGM documentation built on Oct. 9, 2019, 5:23 p.m.