as_vector: Convert SparseSet to vector

Description Usage Arguments Value Examples

View source: R/as_SparseSet.R

Description

Convert SparseSet to vector

Usage

1

Arguments

v

A SparseSet to convert to vector.

Value

A vector.

Examples

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)

neuroimaginador/fcaR documentation built on Dec. 9, 2020, 5:42 a.m.