Learn R Programming

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

spam (version 1.2-1)

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

1.2-1

License

LGPL-2

Maintainer

Reinhard Furrer

Last Published

September 30th, 2015

Functions in spam (1.2-1)

bandwidth

Bandwidth of a Sparse Matrix
apply

Apply Functions Over Sparse Matrix Margins
. SPAM .

SPArse Matrix Package
Math

Mathematical functions
spam-class

Class "spam"
spam

Sparse Matrix Class
Summary

Rounding of Numbers
Coercion

Coercion to a Vector
Oral

Oral Cavity Cancer
foreign

Transformation to other sparse formats
mle

Maximum likelihood estimates
rowSums

Form Row and Column Sums and Means
spam-deprecated

Deprecated Objects in Package spam
diag

Sparse Matrix diagonals
toeplitz

Create Toeplitz Matrices
todo

Small "ToDo" list
spam methods

Methods for sparse matrices
lower.tri

Lower and Upper Triangular Part of a Sparse Matrix
allequal

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

Cholesky Factorization for Sparse Matrices
crossprod

Spam Matrix Crossproduct
ordering

Extract the permutation
grid_zoom

grid_zoom
print

Printing and summarizing sparse matrices
makeprec

Create Precision Matrices
version

Spam Version Information
UScounties

Adjacency structure of the counties in the contiguous United States
complexity

Complexity for Sparse Matrices
kronecker

Kronecker Products on Sparse Matrices
diff

Lagged Differences
powerboost

Specific options Setting
isSymmetric

Test if a spam matrix is Symmetric
import

Read External Matrix Formats
rmvnorm.const

Draw Constrainted Multivariate Normals
USprecip

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

Create Circulant Matrices
display

Graphially Represent the Nonzero Entries
map.landkreis

Administrative districts of Germany
germany.plot

Plot administrative districts of Germany
spam.chol.NgPeyton-class

Class "spam.chol.NgPeyton"
cleanup

Cleaning up sparse matrices
history

Brief Overview of the History
Math2

Rounding of Numbers
grid_trace2

Two trace plots and a scatter plot.
fields wrapper

Wrapper for Distance Matrix Computation
nearestdist

Distance Matrix Computation
coerce-methods

Force a spam Object to Belong to a Class
triplet

Transform a spam format to triplets
constructors

Slot modification
dim

Dimensions of an Object
pad

Padding a (sparse) matrix
spam operations

Basic Linear Algebra for Sparse Matrices
s3only

Wappers for Sparse Matrices
adjacency

Administrative districts of Germany
image

Display a spam Object as Color Image
bdiag

Binds Arrays Corner-to-Corner
germany.data

Meta-data about administrative districts of Germany
covmat

Covariance functions
head

Return the First or Last Part of an Object
options

Options Settings
precmat

IGMRF Precision Matrices
permutation

Permute a matrix
spam internal

Spam internal and auxiliary functions
rmvnorm

Draw Multivariate Normals
spam solve

Linear Equation Solving for Sparse Matrices
cbind

Combine spam Matrices by Rows or Columns
det

Calculate the determinant of a positive definite Sparse Matrix