Learn R Programming

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

spam (version 0.29-1)

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-1

License

GPL | file LICENSE

Maintainer

Reinhard Furrer

Last Published

May 5th, 2012

Functions in spam (0.29-1)

diag

Sparse Matrix diagonals
cleanup

Cleaning up sparse matrices
complexity

Complexity for Sparse Matrices
bandwidth

Bandwidth of a Sparse Matrix
makeprec

Create Precision Matrices
germany

Administrative districts of Germany
display

Graphially Represent the Nonzero Entries
spam methods

Methods for sparse matrices
Math2

Rounding of Numbers
lower.tri

Lower and Upper Triangular Part of a Sparse Matrix
kronecker

Kronecker Products on Sparse Matrices
nearestdist

Distance Matrix Computation
permutation

Permute a matrix
options

Options Settings
precmat

IGMRF Precision Matrices
mle

Maximum likelihood estimates
todo

Small "ToDo" list
rowSums

Form Row and Column Sums and Means
version

Spam Version Information
print

Printing and summarizing sparse matrices
spam.chol.NgPeyton-class

Class "spam.chol.NgPeyton"
toeplitz

Create Toeplitz Matrices
cbind

Combine spam Matrices by Rows or Columns
triplet

Transform a spam format to triplets
USprecip

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

Adjacency structure of the counties in the contiguous United States
bdiag

Binds Arrays Corner-to-Corner
Oral

Oral Cavity Cancer
allequal

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

Apply Functions Over Sparse Matrix Margins
. SPAM .

SPArse Matrix Package
circulant

Create Circulant Matrices
dim

Dimensions of an Object
history

Brief Overview of the History
head

Return the First or Last Part of an Object
isSymmetric

Test if a spam matrix is Symmetric
image

Display a spam Object as Color Image
import

Read External Matrix Formats
chol

Cholesky Factorization for Sparse Matrices
foreign

Transformation to other sparse formats
Math

Mathematical functions
det

Calculate the determinant of a positive definite Sparse Matrix
spam operations

Basic Linear Algebra for Sparse Matrices
ordering

Extract the permutation
rmvnorm.const

Draw Constrainted Multivariate Normals
powerboost

Specific options Setting
spam-class

Class "spam"
spam

Sparse Matrix Class
spam solve

Linear Equation Solving for Sparse Matrices
rmvnorm

Draw Multivariate Normals
spam internal

Spam internal and auxiliary functions
Summary

Rounding of Numbers