make_tfg_matrix: set up a general trend filtering matrix

Description Usage Arguments

View source: R/stumps_fit_functions_w_SuSiE_code.R

Description

set up a general trend filtering matrix

Usage

1
make_tfg_matrix(t, br = t, order = 0)

Arguments

t

vector of length n specifying locations of data points on x axis

br

vector of length (p-1) specifying break points on x axis (ie where changepoints can occur) By default br=t which allows breaks to occur between every data point. Note that internally duplicate elements of br are removed.

order

non-negative integer indicating order of trend filtering basis (0 is changepoint basis and is the only case we test and use)


andrewg3311/VEB.Boost documentation built on March 21, 2020, 12:16 a.m.