as_SparseSet: Convert Named Vector to SparseSet

Description Usage Arguments Value Examples

View source: R/as_SparseSet.R

Description

Convert Named Vector to SparseSet

Usage

1

Arguments

A

A named vector or matrix to build a new SparseSet.

Value

A SparseSet object.

Examples

1
2
A <- c(a = 0.1, b = 0.2, p = 0.3, q = 0)
as_SparseSet(A)

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