Learn R Programming

chngpt (version 2023.11-29)

sim.hinge: Simulation function

Description

Simulate data for Monte Carlo study.

Usage

sim.hinge(threshold.type = c("NA", "hinge"), family = c("binomial", "gaussian"),
    thres = "NA", X.ditr = "norm", mu.X, coef.X, cov.X, eps.sd, seed, n)

Arguments

threshold.type

threshold.type

family

family

thres

thres

X.ditr

X.ditr

mu.X

mu.X

coef.X

coef.X

cov.X

cov.X

eps.sd

eps.sd

seed

seed

n

n