constant_generation {MissCP} | R Documentation |
constant_generation
Description
function to generate constant given jump size and break points
Usage
constant_generation(n, p, d, vns, brk)
Arguments
n |
the sample size |
p |
the data dimension |
d |
the number of nonzero coeddficients |
vns |
the jump size. It can be a vector or a single value. If single value, it is same for all break points |
brk |
the break points' locations |
Value
the parameter matrix used to generate data
[Package MissCP version 0.1.0 Index]