umap (version 0.2.2.0)

identity.coo: Construct an identity matrix

Description

Construct an identity matrix

Usage

identity.coo(n.elements, names = NULL)

Arguments

n.elements

integer, number of elements

names

character vector, names associated with the elements

Value

new coo object