R/as_SparseSet.R
as_vector.Rd
Convert Set to vector
as_vector(v)
A Set to convert to vector.
Set
A vector.
A <- c(a = 0.1, b = 0.2, p = 0.3, q = 0) v <- as_Set(A) A2 <- as_vector(v) all(A == A2) #> [1] TRUE