Learn R Programming

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

spam (version 1.0-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.0-1

License

LGPL-2

Maintainer

Reinhard Furrer

Last Published

September 9th, 2014

Functions in spam (1.0-1)

covmat

Covariance functions
Math

Mathematical functions
circulant

Create Circulant Matrices
ordering

Extract the permutation
complexity

Complexity for Sparse Matrices
history

Brief Overview of the History
cbind

Combine spam Matrices by Rows or Columns
Coercion

Coercion to a Vector
adjacency

Administrative districts of Germany
spam methods

Methods for sparse matrices
spam-class

Class "spam"
diag

Sparse Matrix diagonals
kronecker

Kronecker Products on Sparse Matrices
permutation

Permute a matrix
cleanup

Cleaning up sparse matrices
Oral

Oral Cavity Cancer
makeprec

Create Precision Matrices
allequal

Test if Two 'spam' Objects are (Nearly) Equal
germany.plot

Plot administrative districts of Germany
coerce-methods

Force a spam Object to Belong to a Class
constructors

Slot modification
det

Calculate the determinant of a positive definite Sparse Matrix
nearestdist

Distance Matrix Computation
USprecip

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

Padding a (sparse) matrix
Summary

Rounding of Numbers
display

Graphially Represent the Nonzero Entries
grid_zoom

grid_zoom
UScounties

Adjacency structure of the counties in the contiguous United States
chol

Cholesky Factorization for Sparse Matrices
bandwidth

Bandwidth of a Sparse Matrix
grid_trace2

Two trace plots and a scatter plot.
dim

Dimensions of an Object
bdiag

Binds Arrays Corner-to-Corner
foreign

Transformation to other sparse formats
head

Return the First or Last Part of an Object
mle

Maximum likelihood estimates
fields wrapper

Wrapper for Distance Matrix Computation
rmvnorm.const

Draw Constrainted Multivariate Normals
Math2

Rounding of Numbers
rmvnorm

Draw Multivariate Normals
s3only

Wappers for Sparse Matrices
spam.chol.NgPeyton-class

Class "spam.chol.NgPeyton"
map.landkreis

Administrative districts of Germany
spam operations

Basic Linear Algebra for Sparse Matrices
rowSums

Form Row and Column Sums and Means
import

Read External Matrix Formats
image

Display a spam Object as Color Image
version

Spam Version Information
diff

Lagged Differences
isSymmetric

Test if a spam matrix is Symmetric
options

Options Settings
spam internal

Spam internal and auxiliary functions
spam

Sparse Matrix Class
germany.data

Meta-data about administrative districts of Germany
lower.tri

Lower and Upper Triangular Part of a Sparse Matrix
triplet

Transform a spam format to triplets
print

Printing and summarizing sparse matrices
. SPAM .

SPArse Matrix Package
toeplitz

Create Toeplitz Matrices
crossprod

Spam Matrix Crossproduct
spam solve

Linear Equation Solving for Sparse Matrices
powerboost

Specific options Setting
apply

Apply Functions Over Sparse Matrix Margins
todo

Small "ToDo" list
precmat

IGMRF Precision Matrices