Learn R Programming

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

spam (version 0.41-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.41-0

License

GPL | file LICENSE

Maintainer

Reinhard Furrer

Last Published

February 26th, 2014

Functions in spam (0.41-0)

Oral

Oral Cavity Cancer
USprecip

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

Test if a spam matrix is Symmetric
spam-class

Class "spam"
bandwidth

Bandwidth of a Sparse Matrix
cleanup

Cleaning up sparse matrices
mle

Maximum likelihood estimates
diag

Sparse Matrix diagonals
apply

Apply Functions Over Sparse Matrix Margins
powerboost

Specific options Setting
toeplitz

Create Toeplitz Matrices
image

Display a spam Object as Color Image
spam solve

Linear Equation Solving for Sparse Matrices
options

Options Settings
germany.plot

Plot administrative districts of Germany
adjacency

Administrative districts of Germany
det

Calculate the determinant of a positive definite Sparse Matrix
spam methods

Methods for sparse matrices
history

Brief Overview of the History
dim

Dimensions of an Object
permutation

Permute a matrix
complexity

Complexity for Sparse Matrices
UScounties

Adjacency structure of the counties in the contiguous United States
precmat

IGMRF Precision Matrices
rmvnorm

Draw Multivariate Normals
chol

Cholesky Factorization for Sparse Matrices
rowSums

Form Row and Column Sums and Means
germany.data

Meta-data about administrative districts of Germany
Summary

Rounding of Numbers
. SPAM .

SPArse Matrix Package
import

Read External Matrix Formats
display

Graphially Represent the Nonzero Entries
spam operations

Basic Linear Algebra for Sparse Matrices
cbind

Combine spam Matrices by Rows or Columns
ordering

Extract the permutation
head

Return the First or Last Part of an Object
bdiag

Binds Arrays Corner-to-Corner
Math

Mathematical functions
makeprec

Create Precision Matrices
lower.tri

Lower and Upper Triangular Part of a Sparse Matrix
kronecker

Kronecker Products on Sparse Matrices
spam internal

Spam internal and auxiliary functions
triplet

Transform a spam format to triplets
spam.chol.NgPeyton-class

Class "spam.chol.NgPeyton"
version

Spam Version Information
print

Printing and summarizing sparse matrices
map.landkreis

Administrative districts of Germany
Math2

Rounding of Numbers
spam

Sparse Matrix Class
grid_zoom

grid_zoom
rmvnorm.const

Draw Constrainted Multivariate Normals
grid_trace2

Two trace plots and a scatter plot.
circulant

Create Circulant Matrices
allequal

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

Small "ToDo" list
foreign

Transformation to other sparse formats
nearestdist

Distance Matrix Computation
covmat

Covariance functions