Simulate high dimension data for RBSL algorithm validation.

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.