Description Usage Arguments Value Examples
Convert SparseSet to vector
1 | as_vector(v)
|
v |
A |
A vector.
1 2 3 4 | A <- c(a = 0.1, b = 0.2, p = 0.3, q = 0)
v <- as_SparseSet(A)
A2 <- as_vector(v)
all(A == A2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.