Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("Matrix")

1.5-1 by Martin Maechler, 18 days ago


https://Matrix.R-forge.R-project.org/, https://Matrix.R-forge.R-project.org/doxygen/


Report a bug at https://R-forge.R-project.org/tracker/?atid=294&group_id=61


Browse source code at https://github.com/cran/Matrix


Authors: Douglas Bates [aut] , Martin Maechler [aut, cre] , Mikael Jagan [aut] , Timothy A. Davis [ctb] (SuiteSparse and 'cs' C libraries , notably CHOLMOD and 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)


Documentation:   PDF Manual  


GPL (>= 2) | file LICENCE license


Imports methods, graphics, grid, stats, utils, lattice

Suggests expm, MASS

Enhances MatrixModels, graph, SparseM, sfsmisc, igraph, maptools, sp, spdep


Imported by ACV, ADMM, AGHmatrix, AGPRIS, AHM, AICcmodavg, AROC, AdaptiveSparsity, ArCo, BBSSL, BCA1SG, BCEA, BFpack, BGVAR, BGmisc, BLPestimatoR, BOSO, BOSSreg, BTYD, BayesLN, BayesMRA, BayesMassBal, BayesNSGP, BayesS5, BayesSUR, BayesSampling, BayesianTools, Bayesiantreg, BeSS, Bergm, BeviMed, BiDAG, BigQuic, BinOrdNonNor, BlockCov, CAMML, CARlasso, CDatanet, CEGO, CIAAWconsensus, CLVTools, CMShiny, CNVScope, CR2, CRF, CVXR, CatEncoders, CausalMBSTS, ChainLadder, ClimMobTools, CliquePercolation, ClustAssess, CoSMoS, CollocInfer, CommKern, CompareCausalNetworks, Corbi, Countr, CovCombR, CovTools, Crossover, Cyclops, DAISIE, DAMOCLES, DCD, DCLEAR, DDD, DDL, DHARMa, DNMF, DOBAD, DR.SC, DRaWR, DUBStepR, DWLasso, DiffNet, Dire, DisaggregateTS, DrBats, EFDR, EGAnet, EdSurvey, ElliptCopulas, EmbedSOM, Epi, FAVAR, FDboost, FEprovideR, FKSUM, FRK, FSInteract, FastImputation, FeatureHashing, FindIt, FlexGAM, ForecastComb, FuncNN, GENLIB, GENMETA, GFD, GFisher, GGMnonreg, GHap, GLMpack, GMMAT, GPCERF, GPvecchia, GUniFrac, GWSDAT, GeneralizedWendland, GeomComb, GillespieSSA2, HCV, HDCI, HDPenReg, HLMdiag, HeteroGGM, Hmsc, HyperG, ICBioMark, ICglm, IDE, IFAA, INLABMA, IPCAPS, IPV, ITRSelect, IsingFit, Karen, L0Learn, L2E, LDABiplots, LMERConvenienceFunctions, LMMsolver, LMMstar, LRQMM, LSX, LassoBacktracking, LocKer, MAGEE, MANOVA.RM, MCMCprecision, MEGENA, MESS, MFPCA, MGDrivE2, MIIVsem, MLGL, MLMusingR, MM4LMM, MMeM, MRFcov, MRTSampleSizeBinary, MSclust, MTAR, MachineShop, MatrixModels, MendelianRandomization, MiRKAT, MicrobiomeStat, MixedPsy, MixfMRI, MoMPCA, MoTBFs, ModelMatrixModel, MonteCarloSEM, Morpho, MuChPoint, MuMIn, MultiStatM, MultiVarMI, NSAE, NVCSSL, NetMix, NetworkComparisonTest, NetworkDistance, NonProbEst, ORKM, OpenMx, OptimalDesign, PBImisc, PCADSC, PEIP, PFIM, PLNmodels, PLmixed, PQLseq, PRECAST, PRIMAL, PROreg, PRSPGx, PanCanVarSel, PanelMatch, PartCensReg, PenCoxFrail, PenIC, PerFit, PlackettLuce, Platypus, ProcMod, Qtools, R2MLwiN, RAINBOWR, REndo, RGF, RHPCBenchmark, RKEEL, RMLPCA, RMThreshold, RNGforGPD, ROCnReg, ROI.plugin.ecos, ROI.plugin.osqp, RPANDA, RRPP, RSC, RSSL, RSiena, RSpectra, RaceID, RcppEigen, RcppML, ReDaMoR, ResourceSelection, RestoreNet, RevEcoR, Riemann, Rlinsolve, Rnmr1D, RobKF, RobustIV, Rphylopars, Rsurrogate, Rwclust, SALES, SAR, SAVER, SCGLR, SCORNET, SCORPION, SCORPIUS, SEset, SIRE, SISIR, SLBDD, SLOPE, SLTCA, SMNCensReg, SPAS, SPCompute, SRTsim, SSN, STB, SUMMER, ScreenClean, Seurat, SeuratObject, SightabilityModel, Signac, SignacX, SimCorrMix, SimInf, SimMultiCorrData, SmCCNet, SmoothTensor, SoupX, SpaceTimeBSS, SplitKnockoff, StableEstim, SteppedPower, SwarmSVM, SystemicR, TAG, TANDEM, TCA, TFisher, TKCat, TMB, TOHM, TRMF, TSdisaggregation, TSsmoothing, TTCA, TULIP, TextForecast, TooManyCellsR, TopicScore, TraceAssist, VAJointSurv, VCA, ViSiElse, WSGeometry, WeMix, WoodburyMatrix, ZIPFA, abess, abnormality, abtest, adaptsmoFMRI, adjclust, aghq, ahMLE, alakazam, albatross, altmeta, animalEKF, anndata, anticlust, apcluster, apdesign, aphylo, applicable, ar.matrix, arc, archetypal, argo, aricode, ashr, asnipe, autoMFA, bWGR, backbone, bamlss, basefun, bastah, bbknnR, bbmle, beam, benchmarkme, bestridge, biClassify, bibliometrix, bigDM, bigQF, bigsnpr, bigsparser, biospear, blapsr, blatent, blavaan, blockForest, blockmodeling, bootnet, brainGraph, brant, bravo, brglm2, bridgesampling, brms, bsreg, btergm, cSEM, cape, castor, cat.dt, catch, cate, causalOT, cellpypes, cepreader, cgaim, chinese.misc, chords, cleanNLP, clevr, clustvarsel, cmR, cmaRs, cna, coalescentMCMC, coca, coda.base, codingMatrices, colourvision, comato, complexplus, conText, conleyreg, conquer, control, cope, copula, corTest, corpustools, cotram, countland, covsim, coxme, crisp, crosstalkr, crqa, csurvey, ctrialsgov, ctsem, ctsemOMX, cvCovEst, cytominer, dbcsp, ddpca, deepNN, deepgp, deepregression, demu, denoiseR, denseFLMM, detect, did, did2s, didimputation, diffudist, diffusionMap, digitalDLSorteR, dineR, diproperm, dipw, dirttee, disaggregation, discfrail, diversityForest, dnet, doBy, dplR, dr4pl, drf, dtwclust, dynr, dynutils, dynwrap, eBsc, eCAR, eRm, easySdcTable, eatATA, econet, economiccomplexity, ecpc, edmcr, ef, enerscape, epidemia, ergMargins, ergm, espadon, eva, evclust, evolqg, evolvability, ez, fGarch, face, fad, fastLink, fastNaiveBayes, fastTopics, fastcox, fbar, fcaR, fdaMocca, fdapace, fdasrvf, fglsnet, fiberLD, file2meco, flexrsurv, flexsurv, fmcmc, fossilbrush, frailtyEM, frechet, fssemR, fundiversity, funrar, fuser, fwildclusterboot, gMCP, gMOIP, gRbase, gTestsMulti, gWQS, gasmodel, gcbd, gcdnet, geeasy, geecure, geex, gemma2, gen3sis, geonet, geostan, gesso, gfilmm, ggmix, gif, gllvm, glmmLasso, glmmPen, glmmTMB, glmnetUtils, gmwmx, gnm, gofcat, goric, gpboost, gplite, grandR, graph4lg, graphicalVAR, graphsim, greed, grf, grpreg, gsbm, gslnls, gustave, gwer, hIRT, hal9001, harmony, hbsae, hergm, hero, hierarchicalDS, hierarchicalSets, highriskzone, higrad, historicalborrow, historicalborrowlong, hmlasso, hopit, hrqglas, hscovar, htmcglm, hts, huge, hypr, iAdapt, iCARH, iCellR, iGraphMatch, iTOP, ib, icdGLM, igraph, iilasso, immcp, incidentally, influence.ME, influenceR, inlabru, intensitynet, isodistrreg, isokernel, ivmodel, jlsm, joineRML, keyATM, kknn, klic, knn.covertree, knockoff, koRpus, ks, l1spectral, landsepi, latentcor, lavaSearch2, leastcostpath, leiden, lgcp, lightgbm, lime, lineartestr, lmds, lmeresampler, lmfor, lmvar, locStra, logbin, lognorm, lolog, lpbrim, lpcde, lsbs, ltmle, ludic, lvnet, madness, madrat, makemyprior, maotai, marcher, marked, markovchain, mboost, mbr, mbsts, mcglm, mcmcsae, mcompanion, mdatools, mdw, medflex, merDeriv, metaBLUE, metaMix, metaSDTreg, metaSEM, metafuse, metagear, metrix, mfaces, mgcv, mglasso, mgss, miRNAss, micemd, midasr, mirt, misclassGLM, missCompare, missSBM, mistral, mixKernel, mixedCCA, mixgb, mlapi, mlergm, mlfit, mlmi, mlmm.gwas, mlmts, mlt, mltools, mme, mmmgee, modnets, mosaic, mosaicCalc, motifcluster, moult, msaeOB, msaeRB, msaenet, mstDIF, multiAssetOptions, multibiplotGUI, multimark, multinma, multivar, multiview, mumm, mvSLOUCH, mvord, mvpd, mvrsquared, natural, ndi, nebula, net4pg, netCoin, netShiny, netchain, netcom, netcontrol, netdiffuseR, netgsa, netgwas, netrankr, netregR, networkR, networktree, neuroim, newsmap, nlmixr, nlmixr2est, nlmm, nlraa, nmathresh, nmslibR, nonlinearTseries, nopaco, nprcgenekeepr, nutriNetwork, nvmix, oem, ompr, ompr.roi, ondisc, oppr, optBiomarker, optiSel, optiSolve, optweight, opusminer, ordinal, oscar, osqp, palasso, panelvar, parglm, pbkrtest, pcgen, pcts, pdynmc, pedigreeTools, penAFT, pencal, permubiome, permuco, pez, phangorn, phia, phm, phyloregion, phyr, pkggraph, poismf, polmineR, polyMatrix, polycor, polywog, poolfstat, porridge, powerplus, pre, predictmeans, primePCA, prioriactions, prioritizr, profoc, provGraphR, proxyC, prozor, pspatreg, psychonetrics, ptf, pulsar, pvclass, pwlmm, qape, qgraph, qrjoint, qtlpoly, quanteda, quanteda.textmodels, quanteda.textplots, quanteda.textstats, quantkriging, quantreg, quid, r2glmm, rNeighborGWAS, rNeighborQTL, rPanglaoDB, rTensor2, rWind, rWishart, ragt2ridges, randomLCA, ranger, raptr, rare, rbenvo, rbi.helpers, rbmi, rbridge, rcage, rdomains, readsparse, recipes, recometrics, refund, regmedint, remiod, repolr, rescue, reticulate, rhype, riskParityPortfolio, riskclustr, rmatio, rmgarch, robin, robustreg, robustsur, rodd, rpql, rr2, rrMixture, rsetse, rsmatrix, rsq, rstanarm, rsvd, sNPLS, saeRobust, samc, sanic, sarsop, sasfunclust, sbfc, scCATCH, scDHA, scPOP, scRNAstat, scTEP, scTenifoldKnk, scTenifoldNet, scUtils, scalpel, scam, sccore, scpi, scpoisson, sctransform, sdcTable, sdpdth, seededlda, semnova, seqHMM, shapr, sharpr2, signnet, simExam, simer, singleCellHaystack, sirus, sklarsomega, slanter, slimrec, smallstuff, smam, smile, smoothedLasso, smurf, soc.ca, spBayes, spGARCH, spaMM, sparseFLMM, sparseHessianFD, sparseMVN, sparsebnUtils, sparsegl, sparseinv, sparsesvd, sparsevar, sparsio, spatgraphs, spatstat.Knet, spatstat.core, spatstat.data, spatstat.linnet, spatsurv, spectralGraphTopology, spflow, sphet, spldv, splm, spmodel, spmoran, spots, spqdep, spreadr, spsur, squeezy, stR, stabm, stan4bart, starm, starnet, statcomp, statgenIBD, statgenMPP, stfit, stm, stocc, strand, stylest, sumFREGAT, superbiclust, surbayes, surveillance, survival, survivalsvm, survtmle, susieR, svs, symphony, synlik, syt, tcl, tea, tensorTS, tensorr, text2vec, textplot, textrecipes, tidylda, tidytext, topicmodels.etm, tram, tramME, treeDA, trustOptim, tsDyn, tscopula, tsrobprep, ttTensor, tukeytrend, tvR, ubms, udpipe, ui, umap, umx, ungroup, unmarked, useful, varTestnlme, varbvs, varjmcm, vennLasso, vglmer, visa, visaOTR, votesys, vrnmf, vsp, wactor, waydown, wdnet, wfe, widyr, xLLiM, xgboost, xrf, xtreg2way, ycevo.

Depended on by ADDT, ADMMnet, APML0, BCE, BSW, BTLLasso, BacArena, BayesFactor, BinNonNor, BinNor, Boptbd, CRTgeeDR, CVST, CodataGS, DRR, DTRlearn2, DWDLargeR, DoubleCone, EMCluster, EMMREML, FSTpackage, FoReco, GPvam, GaussSuppression, GeDS, GenOrd, GenoScan, GhostKnockoff, GlarmaVarSel, GrassmannOptim, HSDiC, HelpersMG, HiCfeat, KnockoffScreen, L1mstate, LKT, LPmerge, LRMF3, MAP, MBC, MCMCglmm, MDPtoolbox, MargCond, Matrix.utils, MatrixExtra, MedSurvey, MultiGlarmaVarSel, MultiOrd, MultiVarSel, N2R, NegBinBetaBinreg, NetworkRiskMeasures, OrdNor, PCovR, PERMANOVA, POINT, PRISMA, PhylogeneticEM, PoisBinNonNor, PoisBinOrd, PoisBinOrdNonNor, PoisBinOrdNor, PoisNonNor, PoisNor, PrevMap, ProbitSpatial, QPmin, QRM, QZ, RCBR, REBayes, REREFACT, RGE, RGENERATEPREC, RNewsflow, RSarules, RealVAMS, Rediscover, RegSDC, Rmagic, SC.MEB, SEAGLE, SKAT, SOR, SSBtools, SmallCountRounding, SparseChol, StratifiedSampling, TPEA, TropFishR, VAM, WGScan, WaveSampling, adapt4pv, adaptMCMC, addhaz, ahaz, arm, arules, arulesCBA, aster2, bc3net, bgsmtr, biglasso, birankr, bolasso, cAIC4, centiserve, cgam, cjoint, climwin, conos, cplm, cthreshER, ctmcmove, curephEM, dataPreparation, dcGOR, dclone, dglars, dhglm, disordR, distrom, dmm, epistasis, epoc, evalITR, excursions, expectreg, expm, fanc, fastCorrDiff, fastRG, fastadi, fastclime, fdaPDE, flare, frailtyHL, freebird, gamlr, gamlss.lasso, gamm4, gbmt, gdistance, geeM, genlasso, geomorph, glmm, glmmrBase, glmnet, gremlin, growthrate, grpCox, hglm, hglm.data, hibayes, hierSDR, hsem, ibmdbR, inca, invertiforms, irlba, islasso, isotonic.pen, kinship2, lcpm, leidenAlg, lfe, lingmatch, lme4, logcondiscr, mcen, mclogit, mdhglm, mediation, mefa4, metafor, mgwrsar, mi, midasml, mind, msda, msgl, mvglmmRank, nadiv, numbat, optbdmaeAT, optimbase, optrcdmaeAT, pagoda2, pedgene, pedigree, pedigreemm, penDvine, pense, phateR, picasso, pleio, prodest, psqn, qlcMatrix, qpcR, quadrupen, qut, rBMF, rSPDE, ramps, recommenderlab, reglogit, rliger, robustlmm, rsparse, rwc, sRDA, sSDR, saeMSPE, sbw, scITD, sdpt3r, sdwd, sensory, serrsBayes, sglOptim, sglasso, sharpPen, snpReady, softImpute, sommer, soptdmaeA, sparseLRMatrix, sparsenet, sparsestep, spatialprobit, spatialreg, spatstat.sparse, speedglm, ssfa, stcos, sureLDA, surf, survey, surveyvoi, svydiags, sybil, sybilccFBA, sybilcycleFreeFlux, systemfit, text2map, textTinyR, textir, textmineR, tmvtnorm, triversity, tsapp, tvReg, uwot, vagam, wordspace.

Suggested by AgreementInterval, CLA, ChoiceModelR, DGCA, DPQmpfr, DWLS, DoE.MIParray, ECOSolveR, EIX, FSelectorRcpp, ForIT, GDINA, HSAUR, HSAUR2, KFAS, LiblineaR, LncPath, MARSS, MoBPS, NCmisc, PRIMME, R.matlab, RCTS, RcppArmadillo, Rmpfr, RxODE, Ryacas, Ryacas0, SCIBER, SFSI, STPGA, SimSurvNMarker, StanHeaders, WeightSVM, abclass, afex, alkahest, alphastable, autostats, brokenstick, broom.mixed, car, caracas, caret, cccd, classGraph, clubSandwich, cluster, cmfrec, cobs, combinIT, conflicted, corpus, corrgram, cpr, cvwrapr, diffusr, dimRed, discSurv, dyndimred, e1071, ePCR, eyetrackingR, fabletools, fdaconcur, flacco, gap, gcKrig, gear, gemtc, genscore, gets, ggeffects, glmpca, gmodels, h2o, h2o4gpu, hamlet, hardhat, hdi, hmclearn, hydra, insight, ivdesign, ivmte, lava, lda, lfactors, lmeInfo, loe, lotri, mefa, mfpp, mildsvm, mlr3, mlt.docreg, modelbased, naivebayes, neat, netmediate, parameters, parsnip, pcFactorStan, pcalg, pdp, performance, pergola, pmml, psborrow, psr, r2mlm, rARPACK, rattle, recosystem, rgraph6, rmumps, robustbase, rope, round, rstan, rxode2, sageR, sf, sfsmisc, simstudy, sirt, spam, spdep, sptm, srvyr, stabledist, stanette, tableone, tiledb, tramnet, tscount, visreg, xrnet, zenplots.

Enhanced by Rcplex, Rcsdp, Rsymphony, coop, isotree, rviewgraph, skmeans, slam.


See at CRAN