as_dense_sim | R Documentation |
Convert sparse similarity matrix from package data to a
dense version with 1 on its diagonal.
This matrix can then be used by pareg
.
as_dense_sim(mat_sparse)
mat_sparse |
Sparse matrix. |
Dense matrix
transform_y(c(0, 0.5, 1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.