Matrix: Sparse and Dense Matrix Classes and Methods

A rich hierarchy of matrix classes, including triangular, symmetric, and diagonal matrices, both dense and sparse and with pattern, logical and numeric entries. Numerous methods for and operations on these matrices, using 'LAPACK' and 'SuiteSparse' libraries.

Version: 1.2-18
Priority: recommended
Depends: R (≥ 3.2.0)
Imports: methods, graphics, grid, stats, utils, lattice
Suggests: expm, MASS
Enhances: MatrixModels, graph, SparseM, sfsmisc
Published: 2019-11-27
Author: Douglas Bates [aut], Martin Maechler ORCID iD [aut, cre], Timothy A. Davis [ctb] (SuiteSparse and 'cs' C libraries, notably CHOLMOD, AMD; collaborators listed in dir(pattern = '^[A-Z]+[.]txt$', full.names=TRUE, system.file('doc', 'SuiteSparse', package='Matrix'))), Jens Oehlschlägel [ctb] (initial nearPD()), Jason Riedy [ctb] (condest() and onenormest() for octave, Copyright: Regents of the University of California), R Core Team [ctb] (base R matrix implementation)
Maintainer: Martin Maechler <mmaechler+Matrix at gmail.com>
Contact: Doug and Martin <Matrix-authors@R-project.org>
BugReports: https://r-forge.r-project.org/tracker/?group_id=61
License: GPL-2 | GPL-3 | file LICENCE [expanded from: GPL (≥ 2) | file LICENCE]
URL: http://Matrix.R-forge.R-project.org/
NeedsCompilation: yes
Materials: NEWS ChangeLog
In views: Econometrics, Multivariate, NumericalMathematics
CRAN checks: Matrix results

Downloads:

Reference manual: Matrix.pdf
Vignettes: Comparisons of Least Squares calculation speeds
Design Issues in Matrix package Development
2nd Introduction to the Matrix Package
Introduction to the Matrix Package
Sparse Model Matrices
Package source: Matrix_1.2-18.tar.gz
Windows binaries: r-devel: Matrix_1.2-18.zip, r-release: Matrix_1.2-18.zip, r-oldrel: Matrix_1.2-18.zip
macOS binaries: r-release: Matrix_1.2-18.tgz, r-oldrel: Matrix_1.2-18.tgz
Old sources: Matrix archive

Reverse dependencies:

Reverse depends: adapt4pv, adaptMCMC, adaptsmoFMRI, addhaz, ADDT, ADMMnet, ahaz, APML0, arm, arules, arulesCBA, aster2, BacArena, BayesFactor, bc3net, BCE, bdots, bgsmtr, biglasso, BinNonNor, BinNor, bioassayR, birankr, BiRewire, bnstruct, Boptbd, BSW, BTLLasso, BullsEyeR, cAIC4, Category, centiserve, cgam, cjoint, climwin, clipper, CLSOCP, CodataGS, covEB, covLCA, CoxBoost, cplm, crrp, CRTgeeDR, cthreshER, ctmcmove, CVST, cvxbiclustr, cvxclustr, dataPreparation, dcGOR, dcGSA, dclone, dglars, dhglm, distrom, dmm, DNABarcodes, DoubleCone, DRR, DTRlearn2, DWDLargeR, EMCluster, EMMREML, epistasis, epoc, EventPointer, excursions, expm, fanc, fastclime, fda, fdaPDE, FEM, flowMap, frailtyHL, FSTpackage, FTICRMS, GAMBoost, gamlr, gamm4, gcdnet, gdistance, GeDS, geeM, genlasso, GenoGAM, GenOrd, GenoScan, GeoDE, geostatsp, GIGSEA, glmm, glmnet, glmSparseNet, gptk, GPvam, GrassmannOptim, gremlin, growthrate, grpCox, gskat, gvcm.cat, gwerAM, hdlm, hglm, hglm.data, HiCfeat, HSDiC, ibmdbR, IGG, inca, INLAMSM, IPPD, irlba, irregulAR1, islasso, isotonic.pen, kinship2, KnockoffScreen, L1mstate, lassoscore, lcpm, ldr, lfe, lme4, logcondiscr, LPmerge, LSC, MAP, mapfit, MargCond, Matrix.utils, matter, MBC, MBSP, mbsts, mcen, mclogit, MCMCglmm, mdhglm, MDPtoolbox, mediation, MedSurvey, mefa4, metafor, Metatron, mgwrsar, mi, monocle, msda, msgl, multiAssetOptions, MultiGHQuad, MultiOrd, MultiVarSel, mvglmmRank, nadiv, NegBinBetaBinreg, NetworkRiskMeasures, NOISeq, optbdmaeAT, optimbase, optrcdmaeAT, ORDER2PARENT, OrdNor, PCovR, pedgene, pedigree, pedigreemm, penDvine, pense, phateR, PhylogeneticEM, picasso, PivotalR, pleio, POINT, PoisBinNonNor, PoisBinOrd, PoisBinOrdNonNor, PoisBinOrdNor, PoisNonNor, PoisNor, poolr, PrevMap, PRISMA, prodest, qlcMatrix, qpcR, QRM, quadrupen, QZ, ramps, randnet, rBMF, RDFTensor, RealVAMS, REBayes, recommenderlab, reglogit, RegSDC, REREFACT, RFGLS, RGENERATEPREC, Ringo, Rmagic, RNewsflow, robustlmm, RSarules, rSPDE, rwc, SALES, sbw, scpm, sdpt3r, sensory, serrsBayes, sglasso, sglOptim, SKAT, SmallCountRounding, snpReady, snpStats, softImpute, sommer, soptdmaeA, SOR, sparsenet, sparsenetgls, sparsestep, spatialprobit, spatialreg, spatstat.sparse, speedglm, sRDA, SSBtools, sSDR, ssfa, StableEstim, stcos, SubgrpID, SuperPCA, survey, svcm, svmplus, svydiags, sybil, sybilccFBA, sybilcycleFreeFlux, sybilSBML, systemfit, TargetScore, textir, textmineR, textTinyR, TimeProjection, tmvtnorm, TPEA, TreePar, triversity, tsapp, tvReg, uwot, vagam, WaveSampling, WGScan, winRatioAnalysis, wordspace
Reverse imports: abnormality, abtest, AdaptiveSparsity, adjclust, ADMM, AGHmatrix, AGPRIS, AHM, AICcmodavg, alakazam, altmeta, AMARETTO, amplican, animalcules, anticlust, apcluster, apdesign, applicable, ar.matrix, arc, archetypal, ArCo, argo, aricode, AROC, ARpLMEC, ASGSCA, ashr, ASICS, asnipe, ASpediaFI, automultinomial, backbone, bamlss, basefun, BASiCS, bastah, batchelor, BatchQC, BayesianTools, BayesMassBal, BayesMRA, BayesNSGP, BayesS5, BayesSampling, BayesSUR, bayNorm, bbmle, BCA1SG, bcSeq, beachmat, beam, BEclear, benchmarkme, Bergm, BeSS, BFpack, BGVAR, bibliometrix, BigQuic, bigsnpr, BinOrdNonNor, BiocNeighbors, BioCor, BiocSingular, biomformat, biospear, biscuiteer, blapsr, blin, BlockCov, blockForest, blockmodeling, BLPestimatoR, bootnet, BOSSreg, brainGraph, brant, bravo, brglm2, bridgesampling, brms, btergm, BTYD, BUSpaRse, CAGEfightR, Cardinal, cat.dt, CATALYST, catch, cate, CatEncoders, ccfindR, CEGO, celaref, celda, CeTF, ChainLadder, cherry, chinese.misc, chords, chromVAR, CIAAWconsensus, cicero, CISE, CiteFuse, cleanNLP, ClimMobTools, CliquePercolation, clusterExperiment, clustifyr, clustvarsel, CLVTools, CMShiny, cna, CNull, CNVScope, coalescentMCMC, coca, codingMatrices, CollocInfer, colourvision, comato, combi, CompareCausalNetworks, complexplus, conquer, control, cooccurNet, cope, copula, Corbi, corpustools, corTest, CoSMoS, Countr, CovCombR, CovTools, coxinterval, coxme, coxmeg, CRF, crisp, crqa, cSEM, ctgGEM, ctsem, ctsemOMX, CVXR, Cyclops, cytominer, DAISIE, DAMOCLES, DAPAR, dcanr, DCD, DDD, ddpca, decompTumor2Sig, deepNN, DelayedArray, DelayedMatrixStats, demu, denoiseR, denseFLMM, derfinderHelper, DEsingle, destiny, DEsubs, detect, diffman, DiffNet, diffusionMap, diffuStats, diproperm, disaggregation, discfrail, distinct, diversityForest, DMRScan, dmt, dnet, DNMF, DOBAD, doBy, dplR, dr4pl, DRaWR, DrBats, drf, DropletUtils, dtwclust, DWLasso, dyngen, dynr, dynutils, dynwrap, eatATA, econet, economiccomplexity, EdSurvey, EFDR, effectFusion, EGAD, EGAnet, EIX, ELMER, EmbedSOM, epca, Epi, ergm, ergMargins, eRm, ess, evclust, evolqg, expose, ez, face, facilitation, fad, FamAgg, fastcox, fastLink, fastNaiveBayes, fbar, fcaR, fdaACF, fdapace, FDboost, FeatureHashing, FELLA, FEprovideR, fExpressCertificates, fGarch, fgsea, fiberLD, FindIt, FindMyFriends, fishpond, flars, FlexGAM, flowSpy, fmcmc, ForecastComb, FourCSeq, fpmoutliers, frailtyEM, frechet, FRK, FSInteract, fssemR, FuncNN, fusedest, fuser, gamm4.test, GAPGOM, GAprediction, gcbd, gCMAP, geecure, geex, gemma2, gen3sis, GENESIS, GENLIB, GENMETA, GeomComb, gespeR, GFD, GGBase, ggmix, GHap, gif, GillespieSSA2, gllvm, glmaag, glmmLasso, glmmsr, glmmTMB, glmnetUtils, GLMpack, gMCP, GMMAT, gMOIP, gnm, goric, GOSim, GPvecchia, graper, graph4lg, graphicalVAR, graphsim, gRbase, greybox, grf, grpreg, GSALightning, gustave, GWSDAT, hal9001, hbm, hbsae, HCD, HDCI, HDF5Array, HDPenReg, heatmaps, hero, hierarchicalDS, hierarchicalSets, highriskzone, higrad, HIPPO, hIRT, HiTC, HLMdiag, hmgm, hmi, hmlasso, Hmsc, hopit, hscovar, hts, huge, iAdapt, iCARH, icdGLM, iCellR, IDE, igraph, iilasso, IMAGE, IMAS, immcp, ImpulseDE2, infercnv, influence.ME, influenceR, INLABMA, inlabru, InteractionSet, iRF, irtplay, IsingFit, ItemResponseTrees, iTOP, ITRSelect, IVAS, ivmodel, joineRmeta, joineRML, kebabs, keyATM, kknn, klic, knn.covertree, knockoff, koRpus, ks, L0Learn, LANDD, landsepi, LassoBacktracking, lavaSearch2, ldblock, leiden, lgcp, LICORS, lightgbm, lime, LineagePulse, lineartestr, lineqGPR, lmds, LMERConvenienceFunctions, lmeresampler, lmvar, locStra, lognorm, lolog, LoomExperiment, lpbrim, LRQMM, lsbs, LSX, ltmle, ludic, lvnet, M3C, M3Drop, MachineShop, madness, MANOVA.RM, maotai, marcher, marked, markovchain, martini, mase, MatrixModels, mbkmeans, mboost, mcglm, MCMCprecision, mcmcsae, mcompanion, mdatools, mdgsa, mdw, medflex, MEGENA, MendelianRandomization, merDeriv, MESS, metaBLUE, metaboGSE, metafuse, metagear, metagenomeSeq, metaMix, metaMS, MetaNeighbor, metaSDTreg, metaSEM, MetID, MFPCA, mgcv, mgcv, micemd, microbiomeDASim, midasr, MIIVsem, MiRKAT, miRNAss, Mirsynergy, misclassGLM, mistral, mixedCCA, MixedPsy, MixfMRI, mixKernel, mlapi, mlergm, MLGL, mlmi, mlmm.gwas, mltools, MM4LMM, mme, MMeM, mmmgee, MoMPCA, MonteCarloSEM, Morpho, mosaic, MoTBFs, motifcluster, motifmatchr, moult, MRFcov, msaenet, mstDIF, MTAR, MuChPoint, multibiplotGUI, multicross, multimark, multinma, MultiVarMI, multiviewtest, MuMIn, mumm, muscat, mvord, mvrsquared, mvSLOUCH, natural, netbenchmark, netchain, netCoin, netcom, netcontrol, netdiffuseR, netgsa, netgwas, NetMix, netprioR, netregR, netSmooth, NetworkComparisonTest, NetworkDistance, networkR, NetworkReg, NetworkToolbox, networktree, neuroim, newsmap, nlmixr, nlmm, nlraa, nmathresh, nmfgpu4R, nmslibR, nonlinearTseries, NonProbEst, nopaco, NormalBetaPrime, nowcasting, nprcgenekeepr, nutriNetwork, NVCSSL, nvmix, oem, ompr, ompr.roi, OpenMx, oppr, optBiomarker, OptimalDesign, optiSel, optiSolve, optweight, opusminer, ordinal, osqp, palasso, PanCanVarSel, PanelMatch, panelvar, parglm, PartCensReg, PBImisc, pbkrtest, PCADSC, PCAtools, pcgen, pcts, pdynmc, pedigreeTools, PEIP, PenCoxFrail, PenIC, PepsNMR, perARMA, PERFect, PerFit, permubiome, permuco, pez, phangorn, phantasus, phia, phyloregion, phyr, Pi, pkggraph, PlackettLuce, Plasmode, PLmixed, PLNmodels, pmpp, podkat, poismf, polmineR, polycor, polywog, POST, powerlmm, powerplus, PQLseq, pre, predictmeans, PRIMAL, primePCA, prioritizr, ProcMod, PROreg, provGraphR, proxyC, prozor, psychonetrics, PUlasso, pulsar, PureCN, pvca, pvclass, qape, qgraph, qpgraph, qrjoint, qtl2pleio, Qtools, quantable, quanteda, quanteda.textmodels, quantkriging, quantreg, QUBIC, r2glmm, R2MLwiN, RaceID, ragt2ridges, RAINBOWR, randomLCA, RandomWalkRestartMH, ranger, rankFD, raptr, rare, rbi.helpers, rbridge, RcppEigen, rdomains, Rdtq, recipes, refund, regmedint, REndo, repolr, rescue, ResourceSelection, reticulate, RevEcoR, RGF, RHPCBenchmark, riskclustr, riskParityPortfolio, RKEEL, Rlinsolve, rmatio, rmgarch, rmRNAseq, RMThreshold, rNeighborGWAS, rNeighborQTL, RNGforGPD, Rnmr1D, RobKF, robustreg, robustSingleCell, ROCnReg, rodd, ROI.plugin.clp, ROI.plugin.ecos, ROI.plugin.osqp, rolypoly, rosqp, RPANDA, Rphylopars, rpql, rqt, rr2, RSiena, rsmatrix, rsparse, RSpectra, rsq, RSSL, rstanarm, rstap, Rsubread, rsvd, RVFam, rWind, rWishart, RxODE, saeRobust, samc, sanic, SAR, sarsop, SAVER, sbfc, scalpel, scam, scater, scBFA, scClassify, scDblFinder, scds, SCGLR, scHOT, SCORPIUS, scran, scRecover, ScreenClean, scrubr, scry, scTenifoldNet, sctransform, scUtils, SDALGCP, seededlda, selac, semnova, seqHMM, SeqVarTools, Seurat, shapr, sharpr2, shattering, SID, sigFeature, SightabilityModel, Signac, signatureSearch, signnet, SimCorrMix, simExam, simglm, SimInf, SIMLR, SimMultiCorrData, SimRVSequences, singleCellHaystack, SingleR, SIRE, sirus, SISIR, sklarsomega, slanter, slimrec, SLOPE, SLTCA, smam, SmCCNet, SMNCensReg, smoothedLasso, smurf, snapcount, sNPLS, SoupX, spaMM, spANOVA, sparsebnUtils, sparseFLMM, sparseHessianFD, sparseinv, sparseMatrixStats, sparseMVN, sparsesvd, sparsevar, sparsio, SPAS, spatgraphs, spatstat, spatstat.data, spatstat.Knet, spatsurv, spBayes, spdep, spectralGraphTopology, SpectralTAD, spGARCH, sphet, splm, spmoran, spsur, sqp, SSN, stabm, starm, starnet, statcomp, STB, StempCens, stm, stocc, stR, strand, stylest, sumFREGAT, SummarizedExperiment, SUMMER, superbiclust, surbayes, surrosurv, surveillance, survival, survival, survivalsvm, survtmle, svs, SwarmSVM, synlik, SystemicR, syt, TAG, TANDEM, TCA, tcl, tea, tensorr, text2vec, TextForecast, textmatching, textplot, textrecipes, TFisher, themetagenomics, threeboost, tidyMicro, tidytext, TMB, tmle.npvi, TOHM, TooManyCellsR, topdownr, TopicScore, tram, tramME, treeDA, treeHMM, trustOptim, tsDyn, tsrobprep, TSsmoothing, TTCA, ttTensor, tukeytrend, TULIP, tvR, tximeta, udpipe, ui, umx, unmarked, useful, uSORT, varbvs, VariantTools, varjmcm, varTestnlme, VCA, vennLasso, ViSiElse, votesys, wactor, wavScalogram, WeMix, wfe, widyr, WLasso, WoodburyMatrix, xgboost, xLLiM, XMRF, xrf, xtreg2way, yamss, zinbwave, ZIPFA
Reverse linking to: bcSeq, cplm, geostatsp, irlba, mcmcsae, PRIMME, PUlasso, spGARCH, TMB
Reverse suggests: adaptest, afex, AgreementInterval, alphastable, bigsparser, biotmle, BloodCancerMultiOmics2017, broom, broom.mixed, bsseq, car, CARBayes, cccd, ccdrAlgorithm, CHETAH, ChoiceModelR, CLA, classGraph, clubSandwich, cluster, cluster, cobs, corpus, corrgram, cpr, DGCA, diffHic, diffusr, dils, dimRed, discSurv, DoE.MIParray, DPQ, dyndimred, e1071, easySdcTable, ECOSolveR, eisa, ePCR, ESEA, extraTrees, fabletools, flacco, FSelectorRcpp, funrar, gap, gcKrig, GDINA, gdsfmt, gear, gemtc, GenomicRanges, genscore, ggeffects, glmpca, gmodels, gsbm, h2o, hamlet, hdi, HelpersMG, hmclearn, HSAUR, HSAUR2, hydra, IHW, insight, ivdesign, ivmte, kernelTDA, KFAS, lava, lda, leastcostpath, lfactors, LncPath, loe, lotri, MARSS, MAST, mefa, mimager, mlr3, mlt.docreg, MoBPS, muscData, naivebayes, NCmisc, neat, netbiov, OPWeight, PAGI, parameters, pcalg, pcFactorStan, performance, pergola, pmml, porridge, prc, PRIMME, R.matlab, r2mlm, rARPACK, rattle, RcppArmadillo, Rmpfr, rmumps, robustbase, rope, round, rstan, Ryacas, Ryacas0, S4Vectors, samExploreR, scGPS, scidb, scMerge, scPCA, sfsmisc, simstudy, SingleCellExperiment, sirt, SNPRelate, spam, sptm, srvyr, stabledist, StanHeaders, STPGA, tableone, TAPseq, TOAST, tramnet, tscount, tximport, vectools, visreg, WeightSVM, xrnet
Reverse enhances: coop, isotree, Rcplex, Rcsdp, Rsymphony, rviewgraph, skmeans, slam

Linking:

Please use the canonical form https://CRAN.R-project.org/package=Matrix to link to this page.