Learn R Programming

RobMixReg (version 1.1.0)

simu_data_sparse: Simulate high dimension data for RBSL algorithm validation.

Description

Simulate high dimension data for RBSL algorithm validation.

Usage

simu_data_sparse(n, bet, pr, sigma)

Arguments

n

Patient number.

bet

The coefficient matrix.

pr

A vector of probability threshold which simulate the sampling based on uniform distribution.

sigma

A vector of noise level. The length should be equal to the component number.

Value

A list object consist of x, y, true cluster label.