indicator: Helper function to compute indicator function in LSS model.

View source: R/dgp-lib-utils.R

indicatorR Documentation

Helper function to compute indicator function in LSS model.

Description

Helper function to compute indicator function in LSS model.

Usage

indicator(X, thresh, sgn)

Arguments

X

Data matrix or data frame.

thresh

thresholds

sgn

sign of the interaction


Yu-Group/dgpoix documentation built on June 3, 2022, 1:40 a.m.