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.4-1 by Martin Maechler, 2 months 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] (new 'packedMatrix' class plus subset/diag/.. methods in C) , 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)


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, ARpLMEC, AdaptiveSparsity, ArCo, BBSSL, BCA1SG, 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, CNull, CRF, CVXR, CatEncoders, CausalMBSTS, ChainLadder, ClimMobTools, CliquePercolation, ClustAssess, CoSMoS, CollocInfer, 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, FEprovideR, FKSUM, FRK, FSInteract, FastImputation, FeatureHashing, FindIt, FlexGAM, ForecastComb, FuncNN, GENLIB, GENMETA, GFD, GFisher, GGMnonreg, GLMpack, GMMAT, GPvecchia, GUniFrac, GWSDAT, GeomComb, GillespieSSA2, HCV, HDCI, HDPenReg, HLMdiag, HeteroGGM, Hmsc, HyperG, ICBioMark, ICglm, IDE, IFAA, INLABMA, IPCAPS, IPV, ITRSelect, IsingFit, L0Learn, 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, Morpho, MuChPoint, MuMIn, MultiVarMI, NPMLEmix, NVCSSL, NetMix, NetworkComparisonTest, NetworkDistance, NonProbEst, ORKM, OpenMx, OptimalDesign, PBImisc, PCADSC, PEIP, PLNmodels, PLmixed, PQLseq, PRIMAL, PROreg, PRSPGx, PanCanVarSel, PanelMatch, PartCensReg, PenCoxFrail, PenIC, PerFit, PlackettLuce, Platypus, ProcMod, Qtools, R2MLwiN, RAINBOWR, RGF, RHPCBenchmark, RKEEL, RMLPCA, RMThreshold, RNGforGPD, ROCnReg, ROI.plugin.ecos, ROI.plugin.osqp, RPANDA, RRPP, RSC, RSSL, RSiena, RSpectra, RVFam, RaceID, RcppEigen, RcppML, Rdtq, ReDaMoR, ResourceSelection, RevEcoR, Riemann, Rlinsolve, Rnmr1D, RobKF, Rphylopars, Rsurrogate, Rwclust, SAR, SAVER, SCGLR, SCORNET, SCORPIUS, SEMgraph, SEset, SIHR, SIRE, SISIR, SLBDD, SLOPE, SLTCA, SMNCensReg, SPAS, SPCompute, SSN, STB, SUMMER, ScreenClean, Seurat, SeuratObject, SightabilityModel, Signac, SignacX, SimCorrMix, SimInf, SimMultiCorrData, SmCCNet, SmoothTensor, SoupX, SpiceFP, SplitKnockoff, SteppedPower, SwarmSVM, SystemicR, TAG, TANDEM, TCA, TFisher, TMB, TOHM, TRMF, TSsmoothing, TTCA, TULIP, TextForecast, TooManyCellsR, TopicScore, TraceAssist, VCA, ViSiElse, WLasso, WSGeometry, WeMix, WoodburyMatrix, ZIPFA, abess, abnormality, abtest, adjclust, aghq, ahMLE, alakazam, albatross, altmeta, animalEKF, anndata, anticlust, apcluster, apdesign, aphylo, applicable, ar.matrix, arc, argo, aricode, ashr, asnipe, autoMFA, autostats, bWGR, backbone, bamlss, basefun, bastah, bbmle, beam, benchmarkme, bestridge, biClassify, bibliometrix, bigDM, bigQF, bigsnpr, biospear, blapsr, blatent, blavaan, blockForest, blockmodeling, bootnet, brainGraph, brant, bravo, brglm2, bridgesampling, brms, bsreg, btergm, cSEM, cape, castor, cat.dt, catch, cate, causalOT, cepreader, chinese.misc, chords, cleanNLP, clevr, clustvarsel, cmR, cmaRs, cna, coalescentMCMC, coca, codingMatrices, colourvision, comato, complexplus, conText, conleyreg, conquer, control, cope, copula, corTest, corncob, corpustools, cotram, covsim, coxinterval, coxme, crisp, crqa, ctrialsgov, ctsem, ctsemOMX, cvCovEst, cytominer, dbcsp, ddpca, deepNN, deepgp, deepregression, demu, denoiseR, denseFLMM, detect, did, did2s, didimputation, diffudist, diffusionMap, digitalDLSorteR, dineR, diproperm, dipw, disaggregation, discfrail, diversityForest, dmt, dnet, doBy, dplR, dr4pl, drf, dtwclust, dyngen, dynr, dynutils, dynwrap, eBsc, eCAR, eRm, easySdcTable, eatATA, econet, economiccomplexity, ecpc, edmcr, ef, effectFusion, enerscape, epca, epidemia, ergMargins, ergm, eva, evclust, evolqg, evolvability, ez, fGarch, face, fad, fastLink, fastNaiveBayes, fastcox, fbar, fcaR, fdaMocca, fdapace, fdasrvf, fglsnet, fiberLD, file2meco, flexsurv, fmcmc, fossilbrush, frailtyEM, frechet, fssemR, fundiversity, fuser, fwildclusterboot, gMCP, gMOIP, gRbase, gWQS, gasper, gcbd, geeasy, geecure, geex, gemma2, gen3sis, geonet, geostan, gesso, gfilmm, ggmix, gif, gllvm, glmmLasso, glmmPen, glmmTMB, glmnetUtils, gnm, gofcat, goric, gpboost, gplite, graph4lg, graphicalVAR, graphsim, greed, grf, grpreg, gslnls, gustave, gwer, hIRT, hal9001, harmony, hbsae, hergm, hero, hierarchicalDS, hierarchicalSets, highriskzone, higrad, hmlasso, hopit, hrqglas, hscovar, hts, huge, iAdapt, iCARH, iCellR, iGraphMatch, iTOP, ib, icdGLM, igraph, iilasso, immcp, influence.ME, influenceR, inlabru, intensitynet, irtplay, isodistrreg, isokernel, ivmodel, jlsm, joineRML, keyATM, kknn, klic, knn.covertree, knockoff, koRpus, ks, l1spectral, landsepi, lavaSearch2, leiden, lgcp, lightgbm, lime, lineartestr, lmds, lmeresampler, lmfor, lmvar, locStra, logbin, lognorm, lolog, lpbrim, 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, mlapi, mlergm, mlfit, mlmi, mlmm.gwas, mlmts, mlt, mltools, mme, mmmgee, modnets, mosaic, motifcluster, moult, msaeOB, msaeRB, msaenet, mstDIF, multiAssetOptions, multibiplotGUI, multicross, multimark, multinma, multivar, mumm, mvSLOUCH, mvord, mvpd, mvrsquared, natural, nebula, net4pg, netCoin, netchain, netcontrol, netdiffuseR, netgsa, netgwas, netrankr, netregR, networkR, networktree, neuroim, newsmap, nlmixr, nlmixr2est, nlmm, nlraa, nmathresh, nmslibR, nonlinearTseries, nopaco, nowcasting, nprcgenekeepr, nutriNetwork, nvmix, oem, ompr, ompr.roi, ondisc, oppr, optBiomarker, optiSel, optiSolve, optweight, opusminer, ordinal, osqp, palasso, panelvar, parglm, pbkrtest, pcgen, pcts, pdynmc, pedigreeTools, penAFT, pencal, perARMA, permubiome, permuco, pez, phangorn, phia, 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, rWind, rWishart, ragt2ridges, randomLCA, ranger, 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, scTenifoldKnk, scTenifoldNet, scUtils, scalpel, scam, sccore, scpi, sctransform, sdpdth, seededlda, semnova, seqHMM, shapr, sharpr2, signnet, simExam, simer, singleCellHaystack, sirus, sklarsomega, slanter, slimrec, 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, spmoran, spots, spqdep, spreadr, spsur, squeezy, stR, stabm, stan4bart, starm, starnet, statcomp, stfit, stm, stocc, strand, stylest, sumFREGAT, superbiclust, surbayes, surrosurv, surveillance, survival, survivalsvm, survtmle, susieR, svs, symphony, synlik, syt, tcl, tea, tensorTS, tensorr, text2map, text2vec, textplot, textrecipes, threeboost, 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, visa, votesys, vrnmf, vsp, wactor, waydown, wfe, widyr, xLLiM, xgboost, xrf, xtreg2way, ycevo.

Depended on by ADDT, ADMMnet, APML0, BCE, BSW, BTLLasso, BacArena, BayesFactor, BinNonNor, BinNor, Boptbd, BullsEyeR, 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, Metatron, MultiOrd, MultiVarSel, N2R, NegBinBetaBinreg, NetworkRiskMeasures, ORDER2PARENT, OrdNor, PCovR, PERMANOVA, POINT, PRISMA, PhylogeneticEM, PoisBinNonNor, PoisBinOrd, PoisBinOrdNonNor, PoisBinOrdNor, PoisNonNor, PoisNor, PrevMap, ProbitSpatial, QPmin, QRM, QZ, RCBR, REBayes, REREFACT, RFGLS, RGE, RGENERATEPREC, RNewsflow, RSarules, RealVAMS, Rediscover, RegSDC, Rmagic, SALES, SC.MEB, SEAGLE, SKAT, SOR, SSBtools, SmallCountRounding, StableEstim, StratifiedSampling, SuperPCA, TPEA, TimeProjection, TropFishR, VAM, WGScan, WaveSampling, adapt4pv, adaptMCMC, addhaz, ahaz, arm, arules, arulesCBA, aster2, bc3net, bgsmtr, biglasso, birankr, bolasso, cAIC4, centiserve, cgam, cjoint, climwin, conos, covLCA, cplm, csurvey, cthreshER, ctmcmove, curephEM, dataPreparation, dcGOR, dclone, dglars, dhglm, distrom, dmm, epistasis, epoc, evalITR, excursions, expectreg, expm, fastCorrDiff, fastRG, fastadi, fastclime, flare, frailtyHL, gamlr, gamlss.lasso, gamm4, gbmt, gcdnet, gdistance, geeM, genlasso, geomorph, glmm, glmnet, gptk, gremlin, growthrate, grpCox, gvcm.cat, hdlm, hglm, hglm.data, hibayes, hierSDR, hsem, ibmdbR, inca, invertiforms, irlba, islasso, isotonic.pen, kinship2, lassoscore, lcpm, leidenAlg, lfe, lingmatch, lme4, logcondiscr, mapfit, mcen, mclogit, mdhglm, mediation, mefa4, metafor, mgwrsar, mi, midasml, mind, msgl, mvglmmRank, nadiv, 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, svmplus, svydiags, sybil, sybilccFBA, sybilcycleFreeFlux, systemfit, textTinyR, textir, textmineR, tmvtnorm, triversity, tsapp, tvReg, uwot, vagam, wordspace.

Suggested by AgreementInterval, BCEA, CLA, DGCA, DPQ, DPQmpfr, DoE.MIParray, ECOSolveR, EIX, ESEA, FSelectorRcpp, GDINA, HSAUR, HSAUR2, KFAS, LiblineaR, LncPath, MARSS, MoBPS, NCmisc, PRIMME, R.matlab, RcppArmadillo, Rmpfr, RxODE, Ryacas, Ryacas0, STPGA, SimSurvNMarker, StanHeaders, WeightSVM, afex, alphastable, bigsparser, brokenstick, broom, broom.mixed, car, caracas, caret, cccd, ccdrAlgorithm, classGraph, clubSandwich, cluster, cmfrec, cobs, conflicted, corpus, corrgram, cpr, cvwrapr, diffusr, dils, dimRed, discSurv, dyndimred, e1071, ePCR, extraTrees, eyetrackingR, fabletools, flacco, funrar, gap, gcKrig, gear, gemtc, genscore, gets, ggeffects, glmpca, gmodels, h2o, h2o4gpu, hamlet, hardhat, hdi, hmclearn, hydra, insight, ivdesign, ivmte, lava, lda, lfactors, loe, lotri, mefa, mlr3, mlt.docreg, modelbased, naivebayes, neat, parameters, parsnip, pcFactorStan, pcalg, pdp, performance, pergola, pmml, psborrow, psr, r2mlm, rARPACK, rattle, recosystem, rgraph6, rmumps, robustbase, rope, round, rstan, rxode2, sageR, scs, 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