Learn R Programming

MissCP (version 0.1.1)

constant_generation: constant_generation

Description

function to generate constant given jump size and break points

Usage

constant_generation(n, p, d, vns, brk)

Value

the parameter matrix used to generate data

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