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)


neuroimaginador/fcaR documentation built on Sept. 5, 2022, 6:43 p.m.