get_weights | R Documentation |
Computes row weights and column weights
get_weights(inp_mat)
inp_mat |
matrix for which weights should be calculated (sparse or full) |
list of 2 elements: 'row.w' and 'col.w' contain the row and column weights respectively
mat <- matrix(sample(seq(0,20,1),100,replace = TRUE),nrow = 10) ws <- get_weights(mat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.