Learn R Programming

gasper (version 1.1.6)

full: Conversion of Symmetric Sparse Matrix to Full Matrix

Description

full converts a symmetric sparse matrix, represented as sA, into a full matrix A.

Usage

full(sA)

Value

A Full matrix constructed from the symmetric sparse matrix sA.

Arguments

sA

Symmetric sparse matrix, either in a sparse matrix format or in a three-column format, that needs to be converted into a full matrix.

See Also

fullup

Examples

Run this code
sA <- pittsburgh$sA
A <- full(sA)

Run the code above in your browser using DataLab