diffOp: Taken from genlasso package. Usefull to construct the...

Description Usage Arguments Value

Description

Taken from genlasso package. Usefull to construct the structring matrix

Usage

1
diffOp(p, K = 1)

Arguments

p

an integer for the number of features

K

an integer for the order (default is 1) for the order of the derivative operator

Value

an sparse matrix with class dgCMatrix.


spring documentation built on May 2, 2019, 6:09 p.m.