Learn R Programming

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

spam (version 0.30-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.30-1

License

GPL | file LICENSE

Maintainer

Reinhard Furrer

Last Published

August 25th, 2013

Functions in spam (0.30-1)

foreign

Transformation to other sparse formats
isSymmetric

Test if a spam matrix is Symmetric
adjacency

Administrative districts of Germany
image

Display a spam Object as Color Image
grid_zoom

grid_zoom
germany.data

Meta-data about administrative districts of Germany
history

Brief Overview of the History
USprecip

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

Permute a matrix
diag

Sparse Matrix diagonals
options

Options Settings
cleanup

Cleaning up sparse matrices
complexity

Complexity for Sparse Matrices
powerboost

Specific options Setting
ordering

Extract the permutation
det

Calculate the determinant of a positive definite Sparse Matrix
mle

Maximum likelihood estimates
Math

Mathematical functions
spam-class

Class "spam"
rowSums

Form Row and Column Sums and Means
grid_trace2

Two trace plots and a scatter plot.
map.landkreis

Administrative districts of Germany
spam solve

Linear Equation Solving for Sparse Matrices
bandwidth

Bandwidth of a Sparse Matrix
makeprec

Create Precision Matrices
spam methods

Methods for sparse matrices
spam operations

Basic Linear Algebra for Sparse Matrices
version

Spam Version Information
allequal

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

Covariance functions
. SPAM .

SPArse Matrix Package
lower.tri

Lower and Upper Triangular Part of a Sparse Matrix
dim

Dimensions of an Object
UScounties

Adjacency structure of the counties in the contiguous United States
kronecker

Kronecker Products on Sparse Matrices
spam internal

Spam internal and auxiliary functions
precmat

IGMRF Precision Matrices
spam

Sparse Matrix Class
Oral

Oral Cavity Cancer
bdiag

Binds Arrays Corner-to-Corner
apply

Apply Functions Over Sparse Matrix Margins
germany.plot

Plot administrative districts of Germany
import

Read External Matrix Formats
display

Graphially Represent the Nonzero Entries
Math2

Rounding of Numbers
nearestdist

Distance Matrix Computation
print

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

Class "spam.chol.NgPeyton"
toeplitz

Create Toeplitz Matrices
todo

Small "ToDo" list
chol

Cholesky Factorization for Sparse Matrices
head

Return the First or Last Part of an Object
circulant

Create Circulant Matrices
rmvnorm

Draw Multivariate Normals
Summary

Rounding of Numbers
triplet

Transform a spam format to triplets
rmvnorm.const

Draw Constrainted Multivariate Normals
cbind

Combine spam Matrices by Rows or Columns