block_design {aspline} R Documentation

## Transform a Spline Design Matrix in block compressed form

### Description

Transform a Spline Design Matrix in block compressed form

### Usage

block_design(X, degree)


### Arguments

 X The design matrix, as given by splines2::bSpline. degree Degree of the spline regression, as used in function splines2::bSpline.

### Value

A matrix B with all non-zero entries of X and a vector of indices alpha representing the positions of the non-zero blocks of X.

[Package aspline version 0.2.0 Index]