simulate_lsr | R Documentation |
Simulate Heterogeneous, Low-Rank, and Sparse Data
simulate_lsr( N = 100, k = 2, p = 30, m = 35, b = 1, d = 20, h = 0.2, case = "independent" )
N |
The sample size, default = 100. |
k |
The number of groups, default = 2. |
p |
The number of predictor features, default = 30. |
m |
The number of response features, default = 35. |
b |
The signal-to-noise ratio, default = 1. |
d |
The singular value, default = 20. |
h |
The lower bound for the singular matrix simulation, default = 0.2. |
case |
The covariance case, "independent" or "dependent", default = "independent". |
A list of simulation values, including x matrix, y matrix, coefficients and true clustering assignments.
simulate_lsr()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.