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.

Author | Reinhard Furrer [aut, cre], Florian Gerber [ctb] |

Date of publication | 2016-08-30 15:18:05 |

Maintainer | Reinhard Furrer <reinhard.furrer@math.uzh.ch> |

License | LGPL-2 |

Version | 1.4-0 |

http://www.math.uzh.ch/furrer/software/spam/ |

**adjacency:** Administrative districts of Germany

**allequal:** Test if Two 'spam' Objects are (Nearly) Equal

**apply:** Apply Functions Over Sparse Matrix Margins

**bandwidth:** Bandwidth of a Sparse Matrix

**bdiag:** Binds Arrays Corner-to-Corner

**chol:** Cholesky Factorization for Sparse Matrices

**circulant:** Create Circulant Matrices

**cleanup:** Cleaning up sparse matrices

**coerce:** Force a 'spam' Object to Belong to a Class

**coercion:** Coercion to a Vector

**complexity:** Complexity for Sparse Matrices

**constructors:** Slot modification

**cov:** Covariance functions

**crossprod:** Spam Matrix Crossproduct

**det:** Calculate the determinant of a positive definite Sparse...

**diag:** Sparse Matrix diagonals

**diff:** Lagged Differences

**dim:** Dimensions of an Object

**display:** Graphially Represent the Nonzero Entries

**foreign:** Transformation to other sparse formats

**germany:** Plot administrative districts of Germany

**germanydata:** Meta-data about administrative districts of Germany

**grid_trace2:** Two trace plots and a scatter plot.

**grid_zoom:** grid_zoom

**headtail:** Return the First or Last Part of an Object

**history.spam:** Brief Overview of the History

**image:** Display a spam Object as Color Image

**import:** Read External Matrix Formats

**isSymmetric:** Test if a spam matrix is Symmetric

**kronecker:** Kronecker Products on Sparse Matrices

**landkreis:** Administrative districts of Germany

**lu.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

**operations:** Basic Linear Algebra for Sparse Matrices

**options:** Options Settings

**Oral:** Oral Cavity Cancer

**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

**rdist:** Wrapper for Distance Matrix Computation

**rmvnorm:** Draw Multivariate Normals

**rmvnorm.const:** Draw Constrainted Multivariate Normals

**rowcolstats:** Form Row and Column Sums and Means

**s3only:** Wappers for Sparse Matrices

**solve:** Linear Equation Solving for Sparse Matrices

**spam.chol.NgPeyton-class:** Class "spam.chol.NgPeyton"

**spam-class:** Class "spam"

**spam.creation:** Sparse Matrix Class

**spam-deprecated:** Deprecated Objects in Package 'spam'

**spam.internal:** Spam internal and auxiliary functions

**spam-package:** SPArse Matrix Package

**summary:** Rounding of Numbers

**todo:** Small "ToDo" list

**toeplitz:** Create Toeplitz Matrices

**triplet:** Transform a spam format to triplets

**UScounties:** Adjacency structure of the counties in the contiguous United...

**USprecip:** Monthly total precipitation (mm) for April 1948 in the...

**version:** Spam Version Information

**xybind:** Combine spam Matrices by Rows or Columns

spam

spam/inst

spam/inst/0LICENSE

spam/inst/CITATION

spam/inst/0ChangeLog

spam/inst/0NEWS

spam/inst/NEWS

spam/inst/demodata

spam/inst/demodata/germany.adjacency

spam/inst/doc

spam/inst/doc/jss15.pdf.asis

spam/inst/doc/jss15.pdf

spam/tests

spam/tests/demo_article-jss.R

spam/tests/diff.R

spam/tests/subsetting.R

spam/tests/xybind.R

spam/tests/jss_areal_counts.R

spam/tests/dim.R

spam/tests/math.R

spam/tests/demo_cholesky.R

spam/tests/foreign.R

spam/tests/kronecker.R

spam/tests/mle.R

spam/tests/demo_timing.R

spam/tests/rowcolstats.R

spam/tests/overall.R

spam/tests/demo_article-jss-example1.R

spam/tests/ops.R

spam/tests/dist.R

spam/tests/helper.R

spam/tests/spamlist.R

spam/tests/crossprod.R

spam/tests/displays.R

spam/tests/permutation.R

spam/tests/demo_spam.R

spam/tests/demo_article-jss-example2.R

spam/tests/covmat.R

spam/tests/demo_jss15-Leroux.R

spam/tests/solve.R

spam/tests/norm.R

spam/tests/constructors.R

spam/tests/demo_jss15-BYM.R

spam/src

spam/src/spamown2.f

spam/src/dist.f

spam/src/xybind.f

spam/src/fromsparsekit.f

spam/src/rowcolstats.f

spam/src/permutation.f

spam/src/bckslvmodified.f

spam/src/cholmodified.f

spam/src/spamown.f

spam/src/kronecker.f

spam/NAMESPACE

spam/demo

spam/demo/article-jss.R

spam/demo/cholesky.R

spam/demo/article-jss-example2.R

spam/demo/article-jss-example1.R

spam/demo/jss10-example1.R

spam/demo/spam.R

spam/demo/00Index

spam/demo/jss15-Leroux.R

spam/demo/timing.R

spam/demo/jss10-example2.R

spam/demo/jss15-BYM.R

spam/data

spam/data/USprecip.rda

spam/data/germany.rda

spam/data/Oral.rda

spam/data/UScounties.ndorder.rda

spam/data/UScounties.storder.rda

spam/R

spam/R/diff.R
spam/R/plotting.R
spam/R/subset.R
spam/R/xybind.R
spam/R/spam_solve.R
spam/R/dim.R
spam/R/math.R
spam/R/foreign.R
spam/R/makeprec.R
spam/R/rmvnorm.R
spam/R/profile.R
spam/R/kronecker.R
spam/R/mle.R
spam/R/toepliz.R
spam/R/rowcolstats.R
spam/R/apply.R
spam/R/image_spam.R
spam/R/tailhead.R
spam/R/precmat.R
spam/R/dist.R
spam/R/s3only.R
spam/R/helper.R
spam/R/spamlist.R
spam/R/permutation.R
spam/R/s4coerce.R
spam/R/covmat.R
spam/R/tcrossprod.R
spam/R/definitions.R
spam/R/norm.R
spam/R/constructors.R
spam/vignettes

spam/vignettes/jss15.pdf.asis

spam/MD5

spam/README

spam/build

spam/build/vignette.rds

spam/DESCRIPTION

spam/ChangeLog

spam/man

spam/man/diag.Rd
spam/man/adjacency.Rd
spam/man/diff.Rd
spam/man/rmvnorm.Rd
spam/man/chol.Rd
spam/man/makeprec.Rd
spam/man/spam.chol.NgPeyton-class.Rd
spam/man/precmat.Rd
spam/man/kronecker.Rd
spam/man/math.Rd
spam/man/cleanup.Rd
spam/man/solve.Rd
spam/man/coerce.Rd
spam/man/det.Rd
spam/man/foreign.Rd
spam/man/cov.Rd
spam/man/mle.Rd
spam/man/spam-class.Rd
spam/man/version.Rd
spam/man/math2.Rd
spam/man/ordering.Rd
spam/man/pad.Rd
spam/man/spam.creation.Rd
spam/man/bandwidth.Rd
spam/man/complexity.Rd
spam/man/import.Rd
spam/man/lu.tri.Rd
spam/man/grid_trace2.Rd
spam/man/options.Rd
spam/man/grid_zoom.Rd
spam/man/nearestdist.Rd
spam/man/operations.Rd
spam/man/circulant.Rd
spam/man/display.Rd
spam/man/history.spam.Rd
spam/man/germanydata.Rd
spam/man/landkreis.Rd
spam/man/powerboost.Rd
spam/man/headtail.Rd
spam/man/s3only.Rd
spam/man/triplet.Rd
spam/man/spam-deprecated.Rd
spam/man/rmvnorm.const.Rd
spam/man/permutation.Rd
spam/man/constructors.Rd
spam/man/Oral.Rd
spam/man/coercion.Rd
spam/man/rowcolstats.Rd
spam/man/todo.Rd
spam/man/toeplitz.Rd
spam/man/image.Rd
spam/man/bdiag.Rd
spam/man/apply.Rd
spam/man/spam-package.Rd
spam/man/methods.Rd
spam/man/rdist.Rd
spam/man/print.Rd
spam/man/isSymmetric.Rd
spam/man/allequal.Rd
spam/man/dim.Rd
spam/man/crossprod.Rd
spam/man/UScounties.Rd
spam/man/summary.Rd
spam/man/germany.Rd
spam/man/USprecip.Rd
spam/man/xybind.Rd
spam/man/spam.internal.Rd
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.