gurobimodelinit: gurobi model initializer for proximal bayesian trendfiltering

Description Usage Arguments

View source: R/gurobimodelinit.R

Description

gurobi model initializer for proximal bayesian trendfiltering

Usage

1
gurobimodelinit(x, w, restrictions, k)

Arguments

x

predictor (must be strictly increasing!)

w

weight of x

restrictions

a collection of shape restrictions, including 'increasing','decreasing','convex','concave'

k

order of piecewise polynomial; 1 linear, 2 quadratic, 3 cubic;k=0 and k>=4 not recommended


qhengncsu/BNRPxMCMC documentation built on Dec. 31, 2020, 2:10 a.m.