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.7-0 by Martin Maechler, 2 months ago


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


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 libraries , collaborators listed in dir(system.file("doc" , "SuiteSparse" , package="Matrix") , pattern="License" , full.names=TRUE , recursive=TRUE)) , George Karypis [ctb] , METIS library , Copyright: Regents of the University of Minnesota) , Jason Riedy [ctb] , GNU Octave's condest() and onenormest() , Copyright: Regents of the University of California) , Jens Oehlschlägel [ctb] (initial nearPD()) , R Core Team [ctb] (base R's matrix implementation)


Documentation:   PDF Manual  


GPL (>= 2) | file LICENCE license


Imports grDevices, graphics, grid, lattice, stats, utils

Depends on methods

Suggests MASS, datasets, sfsmisc, tools

Enhances SparseM, graph


Imported by ACV, ADMM, AGHmatrix, AGPRIS, AHM, AICcmodavg, ARGOS, AROC, ASRgenomics, AVGAS, ArCo, BANAM, BBSSL, BCA1SG, BCEA, BFF, BGVAR, BGmisc, BLPestimatoR, BOSO, BOSSreg, BTYD, BayesLN, BayesMassBal, BayesNSGP, BayesS5, BayesSUR, BayesSampling, BayesfMRI, BayesianFactorZoo, BayesianTools, Bayesiantreg, BeSS, Bergm, BeviMed, BiDAG, BigQuic, BinOrdNonNor, BlockCov, BlockMissingData, CAMML, CARlasso, CDatanet, CEGO, CIAAWconsensus, CLVTools, CMShiny, CNVScope, COMBO, CR2, CRF, CRMetrics, CRTspat, CVXR, CatEncoders, CausalMBSTS, ChainLadder, ClimMobTools, CliquePercolation, ClustAssess, CoSMoS, CollocInfer, CommKern, CompMix, CompareCausalNetworks, Compositional, Corbi, Countr, CovCombR, CovTools, Crossover, Cyclops, CytoSimplex, DAISIE, DAMOCLES, DCLEAR, DDD, DDL, DHARMa, DIFM, DImodelsMulti, DNAmixturesLite, DNMF, DR.SC, DRaWR, DSAM, DWLasso, DYNATE, DemoKin, Dire, DisaggregateTS, DrBats, EFDR, EGAnet, EMgaussian, EconGeo, EdSurvey, ElliptCopulas, EmbedSOM, Epi, EventPredInCure, ExtrPatt, FAVAR, FDboost, FEprovideR, FKSUM, FRK, FSInteract, FastImputation, FeatureHashing, FinNet, FindIt, FlexGAM, ForecastComb, ForestTools, FuncNN, GALLO, GDILM.SIR, GENLIB, GENMETA, GFD, GFDmcv, GFisher, GGMnonreg, GHap, GLMpack, GMMAT, GPvecchia, GUniFrac, GWRLASSO, GWSDAT, GeneralizedWendland, GeoAdjust, GeomArchetypal, GeomComb, GillespieSSA2, GrabSVG, HCD, HDCI, HLMdiag, HeteroGGM, HhP, Hmsc, HyperG, ICBioMark, ICglm, IDE, ILSM, INLABMA, INLAjoint, IPCAPS, IPV, InteractionPoweR, IsingFit, JICO, Karen, KinMixLite, L0Learn, L2E, LDABiplots, LMERConvenienceFunctions, LMMsolver, LMMstar, LSX, LassoBacktracking, LocKer, MAGEE, MANOVA.RM, MARVEL, MCARtest, MCMCprecision, MEGENA, MESS, MFPCA, MGDrivE2, MIIPW, MIIVsem, MJMbamlss, MLGL, MLMusingR, MM4LMM, MMeM, MRFcov, MRTSampleSizeBinary, MSclust, MTAR, MachineShop, MatrixModels, MendelianRandomization, MetaHD, MetricGraph, MiRKAT, MicrobiomeStat, MixedPsy, MixfMRI, MoTBFs, ModelMatrixModel, MonteCarloSEM, Morpho, MuChPoint, MuMIn, MultiKink, MultiStatM, MultiVarMI, NAIR, NSAE, NVCSSL, NetMix, NetworkComparisonTest, NetworkDistance, NetworkReg, NonProbEst, ORKM, OpenMx, OptimalDesign, OrdCD, PBImisc, PCADSC, PCGII, PEIP, PEPBVS, PFIM, PLNmodels, PLmixed, PQLseq, PRECAST, PRIMAL, PRIMME, PROreg, PRSPGx, PUGMM, PUlasso, PanCanVarSel, PanelMatch, PartCensReg, PartialNetwork, PenCoxFrail, PenIC, PerFit, Petersen, PlackettLuce, ProFAST, ProcMod, Qtools, Qval, R2MLwiN, RAINBOWR, REndo, RGF, RHPCBenchmark, RKEEL, RMLPCA, RMThreshold, RNGforGPD, ROCnReg, ROI.plugin.ecos, ROI.plugin.osqp, RPANDA, RRPP, RSC, RSSL, RSiena, RSpectra, RTMB, RaceID, RcppBlaze, RcppML, ReDaMoR, ReMFPCA, Renvlp, ResIN, ResourceSelection, RestoreNet, RevEcoR, Riemann, Rlinsolve, Rmodule, Rnmr1D, RobKF, RobustIV, Rphylopars, Rsurrogate, Rwclust, SALES, SAR, SAVER, SCGLR, SCORNET, SCORPION, SCORPIUS, SCdeconR, SDPDmod, SEset, SID, SIMle, SIRE, SISIR, SLBDD, SLOPE, SLTCA, SMNCensReg, SPAS, SPCompute, SPECK, SPSP, SRTsim, SSN2, STB, STREAK, SUMMER, ScreenClean, Seurat, SeuratObject, Sie2nts, SightabilityModel, Signac, SignacX, SimCorrMix, SimInf, SimMultiCorrData, SimplyAgree, SmCCNet, SmoothTensor, SoupX, SpaCOAP, SpaceTimeBSS, SpatialDDLS, SpatialGEV, SpiceFP, SplitKnockoff, StableEstim, SteppedPower, SubgrpID, SystemicR, TAG, TANDEM, TCA, TFisher, THREC, TKCat, TMB, TML, TOHM, TRMF, TSdisaggregation, TSsmoothing, TTCA, TULIP, TangledFeatures, TextForecast, TooManyCellsR, TopKSignal, TopicScore, TraceAssist, TransTGGM, TropFishR, VAJointSurv, VBJM, VCA, VeccTMVN, ViSiElse, Vicus, WLogit, WaverideR, WeMix, WoodburyMatrix, WpProj, ZIPFA, abess, abnormality, abtest, adaptsmoFMRI, adjclust, aghq, agriutilities, ahMLE, alakazam, albatross, altmeta, animalEKF, anndata, anticlust, apcluster, apdesign, aphylo, applicable, ar.matrix, arc, archetypal, argo, aricode, ashr, asnipe, audubon, autoMFA, bWGR, backbone, bamlss, bamm, basefun, bayesWatch, bbknnR, bbmle, benchmarkme, bestridge, biClassify, bibliometrix, biblioverlap, bigDM, bigQF, bigergm, bigsnpr, bigsparser, bioregion, biospear, blapsr, blatent, blavaan, blockForest, blockmodeling, bootnet, brainGraph, brant, bravo, brglm2, bridgesampling, brms, bspcov, bsreg, btergm, cSEM, cape, caracas, cases, castor, catch, causalOT, cellpypes, cencrne, cepreader, cgaim, chinese.misc, chords, cleanNLP, clevr, clustvarsel, cmR, cmaRs, cna, coalescentMCMC, coca, coda.base, codingMatrices, coglasso, colourvision, comato, complexplus, conText, conleyreg, conquer, control, cope, copula, corTest, corpustools, cotram, countSTAR, countland, countsplit, covsim, coxme, crisp, crosstalkr, crqa, csmpv, csurvey, ctrialsgov, ctsem, ctsemOMX, cvCovEst, cxr, cytominer, dataPreparation, dbacf, dbcsp, ddml, ddpca, ddtlcm, deepNN, deepgp, deepregression, demic, demu, denoiseR, denseFLMM, detect, diagL1, did, did2s, didimputation, diffudist, diffusionMap, digitalDLSorteR, dineR, diproperm, dipw, dirttee, disaggregation, discfrail, diversityForest, doBy, dplR, dr4pl, drf, dsem, dst, dtwclust, dualScale, dyngen, dynr, dynutils, dynwrap, eBsc, eCAR, eRm, easySdcTable, eatATA, econet, economiccomplexity, ecpc, edmcr, ef, epca, epigrowthfit, erfe, ergMargins, ergm, ergm.multi, espadon, estimateW, estimators, eva, evclust, eventPred, evolqg, evolvability, ez, fGarch, fPASS, face, factReg, fad, fastFMM, fastLink, fastNaiveBayes, fastTopics, fastcmprsk, fastcox, fastcpd, fastglmpca, fastkqr, fbar, fcaR, fdaMocca, fdapace, fdarep, fdasrvf, fglsnet, fiberLD, file2meco, flashier, flexrsurv, flexsurv, fmcmc, fmesher, foreSIGHT, fossilbrush, frailtyEM, frechet, fssemR, funStatTest, funcharts, fundiversity, funrar, fuser, gKRLS, gMCP, gMOIP, gRbase, gRim, gTestsMulti, gWQS, galamm, gasmodel, gasper, gcbd, gcdnet, geeasy, geecure, geex, gemma2, gen3sis, geostan, gesso, getspanel, gfilmm, ggbrain, ggmix, ggsector, gibasa, gif, gllvm, glmmLasso, glmmPen, glmmTMB, glmnetUtils, glmnetr, gmtFD, gmwmx, gnm, goat, gofcat, goric, gpboost, gplite, gps, grandR, graph4lg, graphicalVAR, graphsim, greed, grf, grpreg, gsbm, gslnls, gustave, gwid, hIRT, hal9001, harmony, hbsae, hdf5r.Extra, hero, heteromixgm, hierarchicalSets, highriskzone, higrad, historicalborrow, historicalborrowlong, hmmTMB, hpfilter, hrqglas, hscovar, hspm, hsrecombi, hts, huge, hySAINT, hypr, iAdapt, iCARH, iCellR, iGraphMatch, iTOP, ib, icdGLM, igraph, immcp, incidentally, inferCSN, influence.ME, influenceR, inlabru, intensitynet, irtQ, isodistrreg, isokernel, ivmodel, jewel, joineRML, jrSiCKLSNMF, kanjistat, kcmeans, keyATM, kknn, klic, knn.covertree, knockoff, koRpus, ks, l1spectral, landsepi, latentFactoR, latentcor, lavaSearch2, leakyIV, leastcostpath, lefko3, leiden, lgcp, lightgbm, lime, lincom, lineartestr, lmds, lmeresampler, lmfor, locStra, logbin, logistf, lognorm, lolog, lpcde, lsbs, ltmle, ludic, lvnet, madness, madrat, makemyprior, manifold, maotai, mapfit, marcher, marked, markovchain, matrixset, matsbyname, mboost, mbr, mbsts, mcmcsae, mcompanion, mdatools, mdw, medflex, merDeriv, merTools, metaBLUE, metaSDTreg, metaSEM, metafuse, metagear, metanetwork, metrix, mfaces, mgcv, mglasso, mgss, miRNAss, micemd, midasr, mirt, misclassGLM, missCompare, missSBM, mistral, mixKernel, mixedCCA, mixgb, mixhvg, mlapi, mlergm, mlfit, mlmi, mlmm.gwas, mlmts, mlt, mltools, mme, mmmgee, mmrm, mnda, modnets, mombf, mosaic, mosaicCalc, motifcluster, moult, movecost, mppR, msaenet, mstDIF, multiAssetOptions, multiFANOVA, multibiplotGUI, multimark, multiness, multinma, multivar, multivarious, multiview, mvSLOUCH, mvgam, mvord, mvpd, mvrsquared, natural, nda, ndi, nebula, net4pg, netCoin, netShiny, netcom, netcontrol, netdiffuseR, netgsa, netgwas, netrankr, netregR, netseer, nett, networkR, networktree, neuroim, newsmap, nlmixr2est, nlmm, nlpsem, nlraa, nmathresh, nmslibR, nonlinearTseries, nonprobsvy, nopaco, npmr, nutriNetwork, nvmix, ocf, oem, ompr, ompr.roi, ondisc, onion, oosse, oppr, optBiomarker, optiSel, optiSolve, optweight, opusminer, ordgam, ordinal, oscar, osqp, palasso, panelvar, parTimeROC, parglm, pbkrtest, pcgen, pcts, pdynmc, pedigreeTools, penAFT, pencal, pensynth, perARMA, permubiome, permuco, pez, phangorn, pheble, phia, phm, phyloregion, phyr, piar, piqp, pkggraph, planningML, plantTracker, plasso, poismf, polmineR, polyMatrix, polycor, polyhedralCubature, polywog, pomdp, poolfstat, porridge, ppmSuite, pre, predictmeans, primePCA, prioriactions, prioritizr, profoc, provGraphR, proxyC, prozor, psborrow2, pspatreg, psychonetrics, pulsar, pvclass, pwlmm, qape, qgraph, qrjoint, qtlpoly, quanteda, quanteda.textmodels, quanteda.textplots, quanteda.textstats, quantkriging, quantreg, quid, r2glmm, rMultiNet, rNeighborGWAS, rNeighborQTL, rPanglaoDB, rTensor2, rTwig, rWishart, randomLCA, ranger, raptr, rare, rbi.helpers, rbmi, rbridge, rdomains, readsparse, recipes, recometrics, reformulas, refund, registr, regmedint, remiod, repolr, retel, reticulate, rhype, riskParityPortfolio, riskclustr, rliger, rmatio, rmgarch, rnndescent, robin, robustbetareg, robustreg, robustsur, rodd, rpql, rqPen, rr2, rrMixture, rsetse, rsmatch, rsmatrix, rsq, rstanarm, rsvd, sNPLS, saeRobust, samc, sanic, sarsop, sasfunclust, sbfc, scBSP, scCATCH, scCustomize, scDHA, scGOclust, scRNAstat, scTenifoldKnk, scTenifoldNet, scUtils, scalpel, scam, sccore, scpi, scpoisson, sctransform, sdcTable, sdmTMB, sdpdth, seededlda, semfindr, semnova, seqHMM, sgs, shapr, sharpr2, signnet, simExam, simcausal, simer, simplifyNet, singleCellHaystack, sirus, skedastic, sklarsomega, slanter, slimrec, smallstuff, smam, smile, smoothedLasso, smurf, soc.ca, spANOVA, spBayes, spGARCH, spaMM, sparseCov, sparseDFM, sparseFLMM, sparseHessianFD, sparseMVN, sparsegl, sparseinv, sparsesvd, sparsevar, sparsio, spatgraphs, spatstat.Knet, spatstat.data, spatstat.explore, spatstat.linnet, spatstat.model, spatsurv, spectralGraphTopology, sphet, spldv, splm, spmodel, spmoran, spreadr, spsur, squeezy, ssMutPA, stR, stabm, stan4bart, starm, starnet, statcomp, statgenHTP, statgenIBD, statgenMPP, stelfi, stfit, stm, stocc, strand, stylest2, success, sumFREGAT, superbiclust, surbayes, surrosurv, surveillance, survival, survivalsvm, susieR, svrep, svs, svylme, symphony, synlik, syt, tabnet, tcl, tea, templateICAr, tensorTS, text2vec, textplot, textrecipes, tglkmeans, tidySEM, tidylda, tidyseurat, tidytext, topicmodels.etm, tram, tramME, transforEmotion, treeDA, treestats, trustOptim, tsDyn, tscopula, tseriesTARMA, tsrobprep, ttservice, tukeytrend, tvR, ubms, udpipe, ui, umap, umx, ungroup, unmarked, useful, varTestnlme, varbvs, varjmcm, vglmer, visa, visaOTR, voi, votesys, vrnmf, vsmi, vsp, wactor, waydown, waywiser, wdnet, wfe, widyr, winputall, xLLiM, xgboost, xrf, xxdi, ycevo.

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

Suggested by AgreementInterval, CLA, CalibrationCurves, ChoiceModelR, DPQmpfr, DWLS, DoE.MIParray, ECOSolveR, EIX, FSelectorRcpp, ForIT, GDINA, GPUmatrix, HSAUR, HSAUR2, KFAS, LiblineaR, LncPath, MOCHA, MoBPS, NCmisc, R.matlab, RCTS, RcppArmadillo, RcppEigen, Ryacas, Ryacas0, SCIBER, SCpubr, SIMplyBee, STPGA, SimSurvNMarker, StanHeaders, WeightSVM, abclass, abn, afex, alkahest, alphastable, autostats, brokenstick, brolgar, broom.mixed, car, caret, cccd, ciccr, clarabel, classGraph, clubSandwich, cluster, cmfrec, cobs, combinIT, conflicted, corrgram, cpr, cvwrapr, dimRed, discSurv, drape, dyndimred, e1071, ePCR, eyetrackingR, fabR, fabletools, fastMatMR, fdaconcur, flacco, flowml, gap, gcKrig, gear, gemtc, genscore, gets, ggeffects, glmpca, gmodels, grafify, h2o, h2o4gpu, hamlet, hardhat, hdi, hmclearn, hydra, insight, ivdesign, ivmte, konfound, lava, lda, lfactors, literanger, lmeInfo, lotri, matsindf, mefa, mfpp, miceadds, mildsvm, misty, mlr3, mlt.docreg, naivebayes, neat, netmediate, norMmix, parameters, parsnip, pcFactorStan, pcalg, pdp, performance, pmml, psborrow, r2mlm, rARPACK, rattle, recosystem, rgraph6, rmumps, robustbase, robustvarComp, rope, round, rstan, rxode2, sageR, sca, scs, sf, sfsmisc, simstudy, simtrial, sirt, spam, sparsevctrs, spatialEco, spdep, srvyr, stabledist, statnet.common, tableone, tern.mmrm, tiledb, tramnet, triplesmatch, tscount, visreg, xrnet, zenplots.

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


See at CRAN