make_signal: Create signal object

Description Usage Arguments Value

View source: R/param_classes.R

Description

Create signal object

Usage

1
2
make_signal(num_variables, num_nonzero, val_nonzero = sqrt(2 *
  log(num_variables)))

Arguments

num_variables

Number of variables

num_nonzero

Number of non-zero elements in the coefficient vector

val_nonzero

Value that will be placed on non-zero elements of the coefficient vector

Value

Object of class "signal" that consists of the dimension of beta (coefficient) vector, beta vector and the value of non-zero elements.


StatsIMUWr/slobeC documentation built on Oct. 31, 2019, 12:03 a.m.