Learn R Programming

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

spam (version 1.4-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

74,651

Version

1.4-0

License

LGPL-2

Maintainer

Reinhard Furrer

Last Published

August 30th, 2016

Functions in spam (1.4-0)

Coercion

Coercion to a Vector
allequal

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

Apply Functions Over Sparse Matrix Margins
chol

Cholesky Factorization for Sparse Matrices
complexity

Complexity for Sparse Matrices
bdiag

Binds Arrays Corner-to-Corner
cleanup

Cleaning up sparse matrices
circulant

Create Circulant Matrices
adjacency

Administrative districts of Germany
bandwidth

Bandwidth of a Sparse Matrix
dim

Dimensions of an Object
det

Calculate the determinant of a positive definite Sparse Matrix
display

Graphially Represent the Nonzero Entries
crossprod

Spam Matrix Crossproduct
foreign

Transformation to other sparse formats
covmat

Covariance functions
constructors

Slot modification
diag

Sparse Matrix diagonals
germany.plot

Plot administrative districts of Germany
diff

Lagged Differences
isSymmetric

Test if a spam matrix is Symmetric
kronecker

Kronecker Products on Sparse Matrices
import

Read External Matrix Formats
map.landkreis

Administrative districts of Germany
germany.data

Meta-data about administrative districts of Germany
grid_trace2

Two trace plots and a scatter plot.
history

Brief Overview of the History
image

Display a spam Object as Color Image
head

Return the First or Last Part of an Object
grid_zoom

grid_zoom
spam operations

Basic Linear Algebra for Sparse Matrices
lower.tri

Lower and Upper Triangular Part of a Sparse Matrix
Math

Mathematical functions
nearestdist

Distance Matrix Computation
ordering

Extract the permutation
makeprec

Create Precision Matrices
Oral

Oral Cavity Cancer
mle

Maximum likelihood estimates
spam methods

Methods for sparse matrices
Math2

Rounding of Numbers
pad

Padding a (sparse) matrix
fields wrapper

Wrapper for Distance Matrix Computation
print

Printing and summarizing sparse matrices
rmvnorm.const

Draw Constrainted Multivariate Normals
rowSums

Form Row and Column Sums and Means
precmat

IGMRF Precision Matrices
powerboost

Specific options Setting
rmvnorm

Draw Multivariate Normals
permutation

Permute a matrix
s3only

Wappers for Sparse Matrices
spam solve

Linear Equation Solving for Sparse Matrices
toeplitz

Create Toeplitz Matrices
spam-class

Class "spam"
spam internal

Spam internal and auxiliary functions
todo

Small "ToDo" list
spam.chol.NgPeyton-class

Class "spam.chol.NgPeyton"
Summary

Rounding of Numbers
spam

Sparse Matrix Class
. SPAM .

SPArse Matrix Package
spam-deprecated

Deprecated Objects in Package spam
triplet

Transform a spam format to triplets
version

Spam Version Information
cbind

Combine spam Matrices by Rows or Columns
UScounties

Adjacency structure of the counties in the contiguous United States
USprecip

Monthly total precipitation (mm) for April 1948 in the contiguous United States
coerce-methods

Force a spam Object to Belong to a Class
options

Options Settings