Learn R Programming

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

spam (version 0.40-0)

SPArse Matrix

Description

Set of functions 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.40-0

License

GPL | file LICENSE

Maintainer

Reinhard Furrer

Last Published

September 12th, 2013

Functions in spam (0.40-0)

bdiag

Binds Arrays Corner-to-Corner
foreign

Transformation to other sparse formats
germany.data

Meta-data about administrative districts of Germany
apply

Apply Functions Over Sparse Matrix Margins
mle

Maximum likelihood estimates
spam methods

Methods for sparse matrices
det

Calculate the determinant of a positive definite Sparse Matrix
precmat

IGMRF Precision Matrices
permutation

Permute a matrix
Oral

Oral Cavity Cancer
bandwidth

Bandwidth of a Sparse Matrix
todo

Small "ToDo" list
UScounties

Adjacency structure of the counties in the contiguous United States
dim

Dimensions of an Object
powerboost

Specific options Setting
Summary

Rounding of Numbers
toeplitz

Create Toeplitz Matrices
spam.chol.NgPeyton-class

Class "spam.chol.NgPeyton"
rmvnorm

Draw Multivariate Normals
nearestdist

Distance Matrix Computation
allequal

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

Cholesky Factorization for Sparse Matrices
display

Graphially Represent the Nonzero Entries
cleanup

Cleaning up sparse matrices
Math

Mathematical functions
spam

Sparse Matrix Class
history

Brief Overview of the History
lower.tri

Lower and Upper Triangular Part of a Sparse Matrix
diag

Sparse Matrix diagonals
head

Return the First or Last Part of an Object
map.landkreis

Administrative districts of Germany
spam-class

Class "spam"
Math2

Rounding of Numbers
spam internal

Spam internal and auxiliary functions
import

Read External Matrix Formats
spam operations

Basic Linear Algebra for Sparse Matrices
version

Spam Version Information
germany.plot

Plot administrative districts of Germany
covmat

Covariance functions
complexity

Complexity for Sparse Matrices
triplet

Transform a spam format to triplets
makeprec

Create Precision Matrices
image

Display a spam Object as Color Image
rowSums

Form Row and Column Sums and Means
grid_trace2

Two trace plots and a scatter plot.
circulant

Create Circulant Matrices
adjacency

Administrative districts of Germany
cbind

Combine spam Matrices by Rows or Columns
grid_zoom

grid_zoom
options

Options Settings
isSymmetric

Test if a spam matrix is Symmetric
kronecker

Kronecker Products on Sparse Matrices
USprecip

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

Linear Equation Solving for Sparse Matrices
. SPAM .

SPArse Matrix Package
print

Printing and summarizing sparse matrices
ordering

Extract the permutation
rmvnorm.const

Draw Constrainted Multivariate Normals