as_vector: Convert Set to vector

View source: R/as_SparseSet.R

as_vectorR Documentation

Convert Set to vector

Description

Convert Set to vector

Usage

as_vector(v)

Arguments

v

A Set to convert to vector.

Value

A vector.

Examples

A <- c(a = 0.1, b = 0.2, p = 0.3, q = 0)
v <- as_Set(A)
A2 <- as_vector(v)
all(A == A2)


fcaR documentation built on May 29, 2024, 2:05 a.m.