R/as_SparseSet.R
as_Set.Rd
Convert Named Vector to Set
as_Set(A)
A named vector or matrix to build a new Set.
Set
A Set object.
A <- c(a = 0.1, b = 0.2, p = 0.3, q = 0) as_Set(A) #> {a [0.1], b [0.2], p [0.3]}