SPAM {spam} | R Documentation |
spam
is a collection of functions for sparse matrix
algebra.
What is spam and what is it not:
While Matrix
seems an overshoot of classes and SparseM
focuses mainly on regression type problem, we provide a minimal set of
sparse matrix functions fully functional for everyday spatial statistics
life. There is however some emphasize on Markov chain Monte Carlo type
calculations within the framework of (Gaussian) Markov random fields.
Emphasis is given on a comprehensive, simple, tutorial structure of the
code. The code is S4 based but (in a tutorial spirit) the functions are
in a S3 structure visible to the user (exported via NAMESPACE
).
Sparseness is used when handling large matrices. Hence, care has been used to provide efficient and fast routines. Essentially, the functions do not transform the sparse structure into full matrices to use standard (available) functionality, followed by a back transform. We agree, more operators, functions, etc. should eventually be implemented.
The packages fields
and spdep
use spam
as a
required package.
Reinhard Furrer
www.mines.edu/~rfurrer/software/spam/
See spam.class
for a detailed class description,
spam
and spam.ops
for creation,
coercion and algebraic operations.
demo(package='spam')
lists available demos.
Related packages are fields
,
Matrix
and
SparseM.ontology
.
## Not run: ## History of changes file.show(system.file("NEWS", package = "spam")) ## End(Not run)