triplets_to_matrix: Conversion from triplet/coordinate format to matrix
Description
This function is the inverse of matrix_to_triplets().
It converts a matrix represented as a set of triplets into
an object of the class matrix. The missing entries
(the ones not present in the triplet representation) are
filled in as NA.
Usage
triplets_to_matrix(triplets)
Value
The input matrix as a normal matrix of class matrix
Arguments
triplets
A matrix in triplet/coordinate format
Author
Arto Klami and Lauri Väre
Details
See matrix_to_triplets() for a description of the
representation.