Learn R Programming

futile.matrix (version 1.2.7)

assign_matrix_dense: Create a matrix from a triplet representation

Description

A somewhat optimized constructor of dense matrices from triplets

Usage

assign_matrix_dense(raw, row.ids, col.ids)

Arguments

raw

data.frame in triplet form where each row represents a triplet

row.ids

The row ids

col.ids

The col ids

Value

A matrix