View source: R/paper_mean_functions.R
Generates the four different mean functions used for simulations in the paper.
1 |
List of four functions that take in a matrix and output a vector of means:
constant_mu
Vector of zeroes
linear_mu
The matrix multiplied by a random vector.
sign_mu
Literally sign(x_mat[, 1])
non_linear_mu
Messy non-linear function of the data matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.