Description Usage Arguments Value Examples
View source: R/generate_betas.R
Returns a sparse image
1 | sparseBeta(x1, x2, random = FALSE)
|
x1 |
sequence between 0 and 1 |
x2 |
see x1 |
random |
logical: Random generated? |
sparse image as matrix
1 2 3 | require(magrittr)
grid <- seq(0,1, len = 64)
sparseBeta(grid,grid) %>% plot_coefficient_image()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.