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("tidyr")

1.2.1 by Hadley Wickham, a month ago


https://tidyr.tidyverse.org, https://github.com/tidyverse/tidyr


Report a bug at https://github.com/tidyverse/tidyr/issues


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


Authors: Hadley Wickham [aut, cre] , Maximilian Girlich [aut] , RStudio [cph]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports dplyr, ellipsis, glue, lifecycle, magrittr, purrr, rlang, tibble, tidyselect, utils, vctrs

Suggests covr, data.table, jsonlite, knitr, readr, repurrrsive, rmarkdown, testthat

Linking to cpp11

System requirements: C++11


Imported by ACDC, AEenrich, AHM, APCtools, AQEval, ARPALData, ActFrag, AeRobiology, AeroSampleR, AvInertia, BAwiR, BENMMI, BMTME, BNPdensity, BOJ, BVARverse, BasketballAnalyzeR, BatchGetSymbols, BayesPostEst, BayesianLaterality, BayesianReasoning, BeeGUTS, BifactorIndicesCalculator, BrazilMet, CB2, CGPfunctions, CIMTx, CINE, CKMRpop, CNVScope, CRABS, CausalGPS, ChangePointTaylor, ClustImpute, CoNI, CohortPlat, ConfusionTableR, CopSens, DAMisc, DCEtool, DCLEAR, DCPO, DMCfun, DNH4, DSSAT, DiagrammeR, DisImpact, DrDimont, EFAtools, EFDR, EIX, ENMeval, ERSA, ESTER, Ease, EmiR, EpiReport, EventStudy, ExPanDaR, ExcelFunctionsR, FAMetA, FORTLS, FSK2R, FSinR, FairMclus, ForIT, FourWayHMM, GGally, GerminaR, GetDFPData2, GetTDData, GillespieSSA2, HDStIM, HS, HTSSIP, HYPEtools, HaDeX, HuraultMisc, IBCF.MTME, IBMPopSim, ICD10gm, IDE, IGoRRR, IMP, INSPECTumours, IPEDSuploadables, ISRaD, Inflect, InflectSSP, InjurySeverityScore, InteractionPoweR, IxPopDyMod, KMunicate, LAGOSNE, LBSPR, LDABiplots, LDAShiny, LTASR, LexisPlotR, LifeInsuranceContracts, LongDat, MFO, MLFS, MPI, MPTmultiverse, MSiP, MagmaClustR, MainExistingDatasets, MarketMatching, MetAlyzer, MetaUtility, MetabolicSurv, MetaculR, MixviR, MortalityLaws, NBAloveR, NIMAA, NMTox, NMproject, NetFACS, NetworkChange, NetworkExtinction, NeuralNetTools, NeuroDecodeR, NiLeDAM, OOS, OlinkAnalyze, OmicInt, OncoBayes2, OneArmTTE, OpenLand, OpenRepGrid.ic, OutliersO3, PAMpal, PHEindicatormethods, PKNCA, PLNmodels, PPforest, PUMP, PVplr, PWFSLSmoke, PheVis, Phenotype, Platypus, PracticalEquiDesign, PupilPre, PupillometryR, R6P, RCT, RCTS, RClimacell, REDCapR, REDCapTidieR, RFishBC, RIdeogram, RItools, RKorAPClient, RNAseqQC, RNeXML, RSSL, RTL, RVA, RWDataPlyr, RadialVisGadgets, RareComb, RavenR, Rcurvep, ReviewR, Rgff, Rilostat, RmarineHeatWaves, Robyn, Rsmlx, SCORPIUS, SEERaBomb, SHELF, SIBER, SNPassoc, SPARTAAS, STMr, STRMPS, SWMPr, SWMPrExtension, SWTools, SenTinMixt, ShellChron, ShinyItemAnalysis, ShinyTester, ShortForm, SiZer, Signac, SimBIID, SimplyAgree, SingleCaseES, SpaCCr, StanMoMo, Superpower, SynthCast, T2Qv, TOSTER, TSstudio, TUFLOWR, Temporal, TestDimorph, TestGardener, TextForecast, TextMiningGUI, TheSFACE, ThermalSampleR, TidyDensity, Tplyr, TriDimRegression, Twitmo, TwoRegression, UCSCXenaShiny, VWPre, WASP, WRTDStidal, WoodSimulatR, abjutils, abstr, academictwitteR, activAnalyzer, activPAL, actogrammr, adepro, adheRenceRX, admiral, admiraldev, adobeanalyticsr, adventr, afdx, agvgd, ahpsurvey, aire.zmvm, airt, alakazam, alfred, allestimates, allhomes, alookr, alphavantager, amanida, amp, amt, andurinha, animaltracker, anipaths, annotater, anomalize, aoristic, applicable, archiveRetriever, arcpullr, arena2r, arulesViz, aspline, auctestr, auk, autoMrP, autoReg, autoTS, autoharp, autostats, avidaR, baguette, bambooHR, banter, baseballr, basket, batchmix, batchtma, bayesammi, bayesbr, bayesmove, bayesnec, baystability, bdl, beadplexr, bestSDP, bibliometrix, biclust, bigtime, bioOED, bioRad, biodosetools, biogrowth, biokNN, biomod2, bipartiteD3, bistablehistory, bkmr, bnmonitor, bootnet, bp, breathtestcore, breathteststan, bridger, brisk, brokenstick, brolgar, broom, broom.helpers, broom.mixed, bruceR, bssm, bulkAnalyseR, bumbl, bupaR, burnr, bwsTools, caffsim, calibrationband, calidad, campsis, canadacovid, capm, card, carpenter, casino, cassandRa, catlearn, cats, causact, cbioportalR, ccml, ccpsyc, cdom, cdrcR, ceRtainty, censored, cesR, cfbfastR, cft, cheese, chemodiv, chessR, childsds, chillR, choroplethr, chromConverter, chronochrt, cimir, circumplex, cjar, cjbart, clidatajp, climaemet, clinDR, clinicalsignificance, clockify, cloudos, clusterPower, clustermole, cmcR, coalitions, cocktailApp, codebook, codebookr, codified, cogmapr, cohortBuilder, cohorts, colorist, combiroc, compareDF, comperes, composits, conText, concordance, confoundr, conquestr, contribution, convdistr, convergEU, corporaexplorer, correlationfunnel, covid19br, covid19france, covid19us, covidcast, coxed, cpr, cpss, cricketdata, crimeutils, cropDemand, cropZoning, crossnma, crosstable, crosstalkr, crypto2, cubble, cuperdec, cutpointr, cvap, cvms, cytominer, czechrates, d3r, dabestr, dados, dalmatian, daqapo, dartR, data.validator, datadictionary, datadogr, dataframeexplorer, dataspice, dataversionr, datazoom.amazonia, datos, daymetr, dbglm, deaR, decisionSupport, demodelr, depigner, describedata, descriptr, descstat, desctable, dexter, dexterMST, dextergui, dfoliatR, dibble, diceR, did, didimputation, digiRhythm, digitalDLSorteR, disbayes, diseq, distillML, disto, distrr, div, dlookr, dm, dmai, dmtools, do, docxtools, dowser, dplyrAssist, dragon, dreamer, drifter, drpop, drugprepr, dscore, dtrackr, dumbbell, dycdtools, dynamic, dynfeature, dynparam, dynplot, dynwrap, eHDPrep, easyalluvial, easycensus, eatRep, ebirdst, ec50estimator, ech, echor, ecocomDP, edeaR, eechidna, egor, elaborator, emayili, emba, embed, emuR, engsoccerdata, ensModelVis, eph, epidata, epidemia, epifitter, epikit, epocakir, epubr, esaps, escalation, estadistica, esvis, eudract, eurlex, europepmc, eurostat, excelstrippr, excessmort, excluder, expDB, explor, explore, expstudy, extRatum, extdplyr, exuber, eye, eyeRead, eyelinkReader, eyetrackingR, ezEDA, ezmmek, ezpickr, fable, fabletools, factoextra, farr, fasstr, fastRhockey, fastqcr, fastrep, fbar, fdacluster, fdapaceShiny, feasts, fedregs, ferrn, ffp, ffscrapr, fgeo.analyze, fido, file2meco, filebin, finalfit, finetune, finnts, fishualize, fitbitr, fitzRoy, fixerapi, flametree, flashlight, flattabler, flexsurv, flipbookr, flowTraceR, fmpcloudr, fmriqa, foieGras, foodingraph, forecastML, forestecology, forestinventory, forestmangr, forestr, fpp3, fqar, frenchdata, frostr, fst4pg, ftExtra, funcharts, functiondepends, funneljoin, fusen, futureheatwaves, fuzzyjoin, gMOIP, galigor, galvanizer, gapclosing, geckor, gen5helper, geneHapR, genekitr, geneticae, genieBPC, genius, genogeographer, geodimension, geomander, geoviz, gesttools, getpublist, gfer, ggESDA, ggHoriPlot, ggPMX, ggQC, ggRandomForests, ggalluvial, ggarchery, ggasym, ggblanket, ggbump, ggcleveland, ggedit, ggfortify, ggheatmap, ggip, ggiraphExtra, ggmap, ggmice, ggmosaic, ggmulti, ggpacman, ggpubr, ggquickeda, ggseg, ggseg3d, ggseqplot, ggsolvencyii, ggsom, ggspatial, ggspectra, ggstatsplot, ggstream, ggsurvfit, gitdown, gitear, glancedata, globaltrends, glossr, glottospace, gluvarpro, glycanr, gmgm, gompertztrunc, googleAnalyticsR, gosset, gprofiler2, grafify, grantham, graph4lg, graphTweets, gratia, gravitas, gravity, gregRy, grizbayr, groupdata2, groupr, growthcleanr, grwat, gsDesign, gson, gtreg, gtsummary, gwaRs, gwasrapidd, gwavr, h3jsr, hacksig, hansard, harmony, harrietr, hdpGLM, headliner, healthcareai, healthyR, healthyR.ai, healthyR.ts, heuristicsmineR, highcharter, himach, historicalborrow, historicalborrowlong, hlaR, hlt, hmer, hockeyR, hockeystick, hoopR, hot.deck, htmldf, huito, hurricaneexposure, hydrorecipes, i2extras, iNZightTS, iNZightTools, iadf, ideamdb, idiogramFISH, idmodelr, iglu, ihpdr, immunarch, implicitMeasures, imputeREE, imputeTestbench, industRial, infer, influxdbr, insane, inspectdf, intensegRid, interpretCI, inventorize, iotables, ipfr, ir, irtrees, isotracer, itraxR, itscalledsoccer, jackstrap, janitor, japanmesh, japanstat, jarbes, jpgrid, jpstat, jrt, jstor, kaigiroku, karel, kayadata, keyATM, kibior, kntnr, konfound, labelled, lactater, lans2r, lares, lcsm, lddmm, ledger, lifelogr, lillies, linea, lineartestr, linkspotter, lipidomeR, litteR, lmeresampler, loadflux, loewesadditivity, logrx, longsurr, lookout, mMARCH.AC, maicChecks, malariaAtlas, mapbayr, mapboxapi, mapme.biodiversity, maraca, margaret, marketr, mason, matman, matsindf, matuR, mbRes, mboxr, mcStats, mcp, mde, meerva, meltt, mem, memapp, memoria, metabolic, metaconfoundr, metacore, metajam, metamicrobiomeR, metan, metaplot, metapower, metatools, meteospain, metools, metrica, miRetrieve, miWQS, mice, miceafter, microbial, microhaplot, migest, migraph, migrate, mildsvm, mipplot, mispitools, missCompare, mitre, mixgb, mixtur, mobr, modelr, modeltime, modeltime.ensemble, modeltime.gluonts, modeltime.h2o, modeltime.resample, mojson, molnet, monoClust, moranajp, mosaic, mosaicCore, mosaicModel, mousetrap, mpathsenser, mplot, mpoly, mpower, mpwR, mrf2d, mrgsim.sa, msSPChelpR, mshap, mskcc.oncotree, muHVT, mudata2, multicolor, multimorbidity, multinma, multiverse, mverse, mxnorm, naniar, nanostringr, nbTransmission, ncappc, ncmeta, ndi, negligible, neo4r, neonUtilities, nettskjemar, neuromplex, newsanchor, nfl4th, nflfastR, nflseedR, ngramr, nhdplusTools, nlrx, nls.multstart, nncc, noaastormevents, nonmemica, nullabor, numbat, obliqueRSF, occCite, oddsapiR, oddstream, odeGUTS, ojsr, omicwas, omu, oncrawlR, onemap, onemapsgapi, openair, openbankeR, opencage, opitools, optimLanduse, ordr, outreg, overviewR, owmr, oysteR, packDAMipd, palaeoSig, pammtools, parcats, parsermd, parsnip, partR2, partition, passt, paths, pathviewr, pdi, peacesciencer, pepe, performanceEstimation, pestr, pguIMP, photobiology, photobiologyInOut, phyr, pirouette, piwikproR, places, plot3logit, plotBart, plotdap, plotly, plsmod, pmc, pmetar, podcleaner, pointblank, poissonreg, polished, pollster, pomcheckr, popstudy, portalr, portvine, postGGIR, povcalnetR, powdR, ppcSpatial, ppitables, ppmf, ppseq, prcr, precisely, predict3d, preference, presenter, prettyglm, priceR, prider, primer, prioriactions, prisonbrief, processR, processanimateR, processcheckR, processmapR, prophet, protti, proustr, psfmi, psr, psre, psycModel, psychmeta, psychonetrics, psyntur, puls, pwr2ppl, qPCRtools, qacBase, qdap, qpNCA, qsub, qtl2ggplot, qtl2pattern, qualtRics, queuecomputer, quid, quincunx, r2dii.analysis, r2dii.match, rADA, rATTAINS, rFIA, rFSA, rKolada, rPACI, rStrava, rTCRBCRr, rabhit, racademyocean, ractivecampaign, radiant.basics, radiant.model, rainette, ralger, rappsflyer, rapsimng, rattle, ravelRy, rawKS, rbedrock, rbenvo, rdddr, rdflib, readabs, readrba, recipes, recodeflow, redcapAPI, refdb, refund.shiny, regions, registr, regrrr, regweight, reliabilitydiag, reproducer, retroharmonize, reveneraR, revulyticsR, rfPermute, rfacebookstat, rfieldclimate, rfm, rgho, rgoogleads, riAFTBART, riskCommunicator, riverconn, rmapzen, rmdcev, rmytarget, rnoaa, roadoi, robCompositions, robis, robomit, robvis, roclang, roistats, romic, ropercenter, rprev, rsample, rsbp, rscopus, rscorecard, rsppfp, rstanemax, rstatix, rtgstat, rticulate, rtrek, rtrends, rtry, rtsVis, rtypeform, rubias, ruler, rules, rusk, rvkstat, rwa, rwalkr, ryandexdirect, rytstat, sGMRFmix, sabre, safetyGraphics, sampler, saotd, sapfluxnetr, saqgetr, sbo, scImmuneGraph, scatterpie, schtools, scipub, scoper, scpi, scpoisson, sdStaf, secrettext, secuTrialR, sedproxy, seeds, sejmRP, semtree, sfcr, sgsR, sgstar, shazam, shinyHugePlot, shinyML, shinymodels, shinyobjects, shinyrecipes, shorts, siconfir, sift, sigminer, simET, simTool, simhelpers, simmer.plot, simpleFDR, simplevis, simpr, simrel, simts, sitar, sits, sjPlot, sjstats, skater, skimr, sknifedatar, slendr, smog, snSMART, soc.ca, socialrisk, sociome, soiltestcorr, sorvi, sovereign, sparklyr, sparsegl, spatPomp, spatialRF, spatialTIME, specr, spectralR, speech, speechbr, splithalf, spnaf, spotifyr, spqdep, spruce, squat, srvyr, ssimparser, ssrn, staRdom, stabiliser, stability, stacks, staggered, starschemar, starvz, stationaRy, statnipokladna, statsExpressions, statsearchanalyticsr, statsr, stevemisc, stoRy, stppSim, strand, studentlife, suddengains, summarytools, survParamSim, surveil, surveydata, survivalAnalysis, survivoR, survminer, survtmle, sweep, swfscAirDAS, swfscDAS, swfscMisc, swimplot, swissparl, swmmr, syllabifyr, symphony, synoptReg, syuzhet, tabbycat, tablet, tabr, tabshiftr, tabulator, tardis, tbrf, tcgaViz, tcpl, tdcmStan, teamcolors, telemac, tetraclasse, text, text2sdg, texter, textreuse, tfestimators, theft, thinkr, threesixtygiving, thurstonianIRT, tidyCDISC, tidyEmoji, tidyHeatmap, tidyREDCap, tidybayes, tidyboot, tidycat, tidycensus, tidycmprsk, tidycomm, tidygapminder, tidygate, tidygenomics, tidygraph, tidyhydat, tidyjson, tidylda, tidylog, tidymodels, tidymv, tidync, tidyndr, tidypaleo, tidyplus, tidyposterior, tidypredict, tidyquant, tidyqwi, tidyrgee, tidyseurat, tidysmd, tidystats, tidysynth, tidytidbits, tidytreatment, tidytree, tidyverse, tidywikidatar, tigger, timbeR, timetk, tmod, toRvik, tongfen, tosr, toxEval, toxpiR, track2KBA, tradepolicy, trainR, treeheatr, trelliscopejs, trendeval, truthiness, tune, twoxtwo, ukbtools, umiAnalyzer, understandBPMN, unheadr, uniswappeR, unpivotr, unstruwwel, unusualprofile, usdampr, usemodels, utr.annotation, uwo4419, valhallr, validata, varitas, varsExplore, viafr, vici, viewpoly, virtualPollen, visR, visae, visdat, visvow, visxhclust, vivainsights, vivid, vlad, vmeasur, voson.tcn, vosonSML, votesmart, vpc, vprr, waves, wbstats, wcde, wcep, webr, weed, wehoop, weibulltools, whippr, whoa, whomds, widyr, wikilake, wildviz, wordbankr, workboots, workflowsets, worldfootballR, worldmet, wpa, wrangle, wrappedtools, wyz.code.metaTesting, wyz.code.offensiveProgramming, wyz.code.rdoc, wyz.code.testthat, xadmix, xesreadR, xml2relational, xmrr, xpose, xpose.nlmixr, xpose.nlmixr2, yamlet, yfR, zdeskR, zerotradeflow, zipcodeR.

Depended on by Riex, biclustermd, bunching, diathor, ggmcmc, inti, matchMulti, mnreadR, nmarank, ordbetareg, plantecowrap, radiant.data, saccadr, sfc, shinySIR, tidyterra, ushr.

Suggested by APAtree, ARTool, AzureKusto, BMRSr, BSDA, BiplotML, CEOdata, DAISIE, DOPE, DSjobtracker, DTAT, DriveML, Epi, EpiModel, EpiNow2, FunnelPlotR, GDPuc, GLMcat, GSODR, GeoTcgaData, IndexNumR, JacobiEigen, LDLcalc, Lahman, MANOVA.RM, MARSS, MODIStsp, MSEtool, NHSRdatasets, PolicyPortfolios, ProbReco, RBesT, REddyProc, Radviz, RxODE, SCtools, SLOPE, SUMMER, SightabilityModel, SimDesign, SimEngine, TidyMultiqc, USgrid, VancouvR, WDI, WeMix, adjustedCurves, admixr, adoptr, afex, altair, analyzer, avocado, baseballDBR, beezdemand, bench, benthos, bggum, bib2df, bmstdr, bpbounds, cSEM, cancensus, cansim, canvasXpress, canvasXpress.data, cassowaryr, causaldrf, cheem, chronicler, clmplus, cmhc, cmstatr, collateral, colorDF, contrast, coveffectsplot, covid19swiss, cowplot, crawl, cvequality, cxr, datafsm, datawizard, dbplot, dbplyr, dcurves, ddiv, decoder, degday, derivmkts, detrendr, diffudist, dimRed, dirichletprocess, dispositionEffect, dlstats, domir, doseminer, dplyr, dragracer, dtplyr, dynConfiR, eatGADS, echarts4r, ecoCopula, ecotox, ecotraj, edgarWebR, eemR, eesim, eia, era, ethnobotanyR, europop, eyelinker, ezplot, fastR2, faux, fauxnaif, fgeo.tool, finbif, fishdata, fivethirtyeight, flagr, forestplot, forwards, fourierin, ganalytics, geodiv, geofi, ggDoubleHeat, ggVennDiagram, ggcharts, ggdist, ggfan, ggformula, ggfun, ggmatplot, ggparliament, ggprism, ggside, ggthemes, ggtrace, ggwordcloud, ghcm, googleLanguageR, gt, gtExtras, hacksaw, hal9001, hdme, heatwaveR, heddlr, heplots, hilbertSimilarity, hkdatasets, htmlTable, htmltab, hutils, iNZightPlots, idbr, inlabru, isocalcR, ivs, ixplorer, jagstargets, junctions, lemna, linguisticsdown, localIV, logitr, lognorm, longmixr, loon.ggplot, mFD, madness, marginaleffects, matsbyname, mclm, meshed, metabolighteR, mifa, mikropml, minidown, mixdir, mixpoissonreg, mlr, mortAAR, mosaicData, multifear, multifunc, nCov2019, namedCapture, nandb, nc, nlmixr, nntrf, nodeSub, nomisr, nplyr, nzelect, ohenery, openEBGM, openalexR, opendatatoronto, openintro, oppr, outcomerate, pTITAN2, padr, palmerpenguins, panelr, parSim, passport, patentsview, pbixr, perccalc, phonfieldwork, photosynthesis, physiology, pixarfilms, pollen, pomp, posterior, presize, prevtoinc, projmgr, purgeR, qicharts2, quadcleanR, qualvar, quantities, questionr, r2rtf, rODE, radarchart, raw, rb3, rbmi, readsdr, rearrr, reporter, reval, rlc, rmonad, robber, robservable, rpmodel, rsetse, rsinaica, rsprite2, rtables, rtdists, rxode2, scrutiny, sdmApp, seer, segmentr, sf, sfdep, sfo, sftime, simITS, simglm, simstandard, sjmisc, smidm, snpsettest, spanish, sparseMVN, spatialsample, ssdtools, stars, stats19, sugrrants, sunburstR, supernova, surveyvoi, synr, table.glue, tabnet, tauturri, teachingApps, tealeaves, texmex, textmineR, tibble, tibbletime, tictactoe, tidyfast, tidyfst, tidytext, tidyxl, tilegramsR, timbr, time.slots, tinyarray, tmap, tourr, traipse, treasuryTR, trialr, troopdata, truelies, tsfeatures, tsibble, tvgeom, twn, unjoin, unnest, unvotes, usdarnass, usedist, usincometaxes, vacuum, valr, vcfR, vinereg, volleystat, vroom, vsp, waywiser, windsoraiR, workloopR, wrswoR, xgxr, yardstick, ypr, ztpln.


See at CRAN