spam2.10-0 package

SPArse Matrix

complexity

Complexity for Sparse Matrices

constructors

Slot Modification

coerce-methods

Force a spam Object to Belong to a Class

Coercion

Coercion to a Vector

cbind

Combine Sparse Matrices by Rows or Columns

chol

Cholesky Factorization for Sparse Matrices

circulant

Create Circulant Matrices

cleanup

Cleaning up sparse matrices

adjacency

Administrative Districts of Germany

allequal

Test if Two Sparse Matrices are (Nearly) Equal

apply

Apply Functions Over Sparse Matrix Margins

bandwidth

Bandwidth of a Sparse Matrix

bdiag

Binds Arrays Corner-to-Corner

covmat

Covariance Functions

crossprod

Spam Matrix Crossproduct

det

Determinant of a Symmetric Positive Definite Sparse Matrix

diag

Sparse Matrix diagonals

diff

Lagged Differences

dim

Dimensions of an Object

display

Graphially Represent the Nonzero Entries

eigen

Eigenvalues for Sparse Matrices

fields-wrapper

Wrapper for Distance Matrix Computation

foreign

Transformation to Other Sparse Formats

germany.plot

Plot Administrative Districts of Germany

germanydata

Meta-data About Administrative Districts of Germany

gmult

Generalized Multiplication

grid_trace2

Two trace plots and a scatter plot.

grid_zoom

grid_zoom

head

Return the First or Last Part of an Object

image

Display a Sparse Matrix as Color Image

import

Read External Matrix Formats

isSymmetric

Test if a Sparse Matrix is Symmetric

kronecker

Kronecker Products on Sparse Matrices

landkreis

Administrative districts of Germany

large_matrix

Large 64-bit matrices require the R package spam64

lower.tri

Lower and Upper Triangular Part of a Sparse Matrix

makeprec

Create Precision Matrices

Math

Mathematical Functions

Math2

Rounding of Numbers

methods

Methods for Sparse Matrices

mle

Maximum likelihood estimates

nearestdist

Distance Matrix Computation

options

Options Settings

ordering

Extract the permutation

pad

Padding a Sparse Matrix

permutation

Permute a Matrix

powerboost

Specific Options Setting

precmat

IGMRF Precision Matrices

print

Printing and Summarizing Sparse Matrices

random

Create Random Sparse Matrices

rgrf

Draw From a Gaussian Random Field

rmvnorm.cond

Draw Conditional Multivariate Normals

rmvnorm.const

Draw Constrainted Multivariate Normals

rmvnorm

Draw Multivariate Normals

rmvt

Draw From a Multivariate t-Distribution

rowSums

Form Row and Column Sums and Means

s3only

Wappers for Sparse Matrices

spam-class

Class "spam"

spam-defunct

Defunct Objects in Package spam

spam-internal

Spam internal and auxiliary functions

spam-operations

Basic Linear Algebra for Sparse Matrices

spam-package

SPArse Matrix Package

spam-solve

Linear Equation Solving for Sparse Matrices

spam.chol.NgPeyton-class

Class "spam.chol.NgPeyton"

spam

Sparse Matrix Class

Summary

Rounding of Numbers

toeplitz

Create Toeplitz Matrices

triplet

Transform a "spam" Format to Triplets

UScounties

Adjacency Structure of the Counties in the Contiguous United States

validate_spam

Validate a Sparse Matrix

version

Spam Version Information

Set of functions for sparse matrix algebra. Differences with other sparse matrix packages are: (1) we only support (essentially) one sparse matrix format, (2) based on transparent and simple structure(s), (3) tailored for MCMC calculations within G(M)RF. (4) and it is fast and scalable (with the extension package spam64). Documentation about 'spam' is provided by vignettes included in this package, see also Furrer and Sain (2010) <doi:10.18637/jss.v036.i10>; see 'citation("spam")' for details.

  • Maintainer: Reinhard Furrer
  • License: LGPL-2 | BSD_3_clause + file LICENSE
  • Last published: 2023-10-23