Learn R Programming

⚠️There's a newer version (2.11-1) of this package.Take me there.

spam (version 0.29-0)

SPArse Matrix

Description

Set of function for sparse matrix algebra. Differences with SparseM/Matrix are: (1) we only support (essentially) one sparse matrix format, (2) based on transparent and simple structure(s), (3) tailored for MCMC calculations within GMRF. (4) S3 and S4 like-"compatible" ... and it is fast.

Copy Link

Version

Install

install.packages('spam')

Monthly Downloads

103,846

Version

0.29-0

License

GPL | file LICENSE

Maintainer

Reinhard Furrer

Last Published

May 1st, 2012

Functions in spam (0.29-0)

cbind

Combine spam Matrices by Rows or Columns
toeplitz

Create Toeplitz Matrices
version

Spam Version Information
triplet

Transform a spam format to triplets
. SPAM .

SPArse Matrix Package
Oral

Oral Cavity Cancer
UScounties

Adjacency structure of the counties in the contiguous United States
USprecip

Monthly total precipitation (mm) for April 1948 in the contiguous United States
apply

Apply Functions Over Sparse Matrix Margins
allequal

Test if Two 'spam' Objects are (Nearly) Equal
display

Graphially Represent the Nonzero Entries
history

Brief Overview of the History
import

Read External Matrix Formats
bandwidth

Bandwidth of a Sparse Matrix
kronecker

Kronecker Products on Sparse Matrices
dim

Dimensions of an Object
image

Display a spam Object as Color Image
det

Calculate the determinant of a positive definite Sparse Matrix
Math2

Rounding of Numbers
Math

Mathematical functions
isSymmetric

Test if a spam matrix is Symmetric
options

Options Settings
powerboost

Specific options Setting
permutation

Permute a matrix
spam operations

Basic Linear Algebra for Sparse Matrices
precmat

IGMRF Precision Matrices
ordering

Extract the permutation
rmvnorm.const

Draw Constrainted Multivariate Normals
spam.chol.NgPeyton-class

Class "spam.chol.NgPeyton"
spam internal

Spam internal and auxiliary functions
rmvnorm

Draw Multivariate Normals
rowSums

Form Row and Column Sums and Means
spam-class

Class "spam"
circulant

Create Circulant Matrices
print

Printing and summarizing sparse matrices
bdiag

Binds Arrays Corner-to-Corner
cleanup

Cleaning up sparse matrices
foreign

Transformation to other sparse formats
chol

Cholesky Factorization for Sparse Matrices
diag

Sparse Matrix diagonals
complexity

Complexity for Sparse Matrices
head

Return the First or Last Part of an Object
germany

Administrative districts of Germany
lower.tri

Lower and Upper Triangular Part of a Sparse Matrix
makeprec

Create Precision Matrices
mle

Maximum likelihood estimates
nearestdist

Distance Matrix Computation
spam methods

Methods for sparse matrices
todo

Small "ToDo" list
spam

Sparse Matrix Class
Summary

Rounding of Numbers
spam solve

Linear Equation Solving for Sparse Matrices