scales: Scale Functions for Visualization

Graphical scales map data to aesthetics, and provide methods for automatically determining breaks and labels for axes and legends.

Version: 1.3.0
Depends: R (≥ 3.6)
Imports: cli, farver (≥ 2.0.3), glue, labeling, lifecycle, munsell (≥ 0.5), R6, RColorBrewer, rlang (≥ 1.0.0), viridisLite
Suggests: bit64, covr, dichromat, ggplot2, hms (≥ 0.5.0), stringi, testthat (≥ 3.0.0)
Published: 2023-11-28
DOI: 10.32614/CRAN.package.scales
Author: Hadley Wickham [aut], Thomas Lin Pedersen ORCID iD [cre, aut], Dana Seidel [aut], Posit, PBC [cph, fnd]
Maintainer: Thomas Lin Pedersen <thomas.pedersen at posit.co>
BugReports: https://github.com/r-lib/scales/issues
License: MIT + file LICENSE
URL: https://scales.r-lib.org, https://github.com/r-lib/scales
NeedsCompilation: yes
Materials: README NEWS
CRAN checks: scales results

Documentation:

Reference manual: scales.pdf

Downloads:

Package source: scales_1.3.0.tar.gz
Windows binaries: r-devel: scales_1.3.0.zip, r-release: scales_1.3.0.zip, r-oldrel: scales_1.3.0.zip
macOS binaries: r-release (arm64): scales_1.3.0.tgz, r-oldrel (arm64): scales_1.3.0.tgz, r-release (x86_64): scales_1.3.0.tgz, r-oldrel (x86_64): scales_1.3.0.tgz
Old sources: scales archive

Reverse dependencies:

Reverse depends: bios2mds, deltaGseg, dials, dslice, EpiCurve, ggformula, GGPA, JNplots, MetCirc, methylumi, MineICA, pasadr, PERMANOVA, precintcon, promotionImpact, RolWinMulCor, SANple, SANvi, smlmkalman, STPGA, SurrogateRsq, TriMatch, WebAnalytics, weightr
Reverse imports: AccelStab, AcceptReject, actel, actxps, adestr, ADMUR, adobeanalyticsr, adproclus, AeRobiology, AFM, afmToolkit, alakazam, allMT, AlpsNMR, AMPLE, animalcules, animint2, ANOPA, aoristic, APCtools, apyramid, artMS, aRtsy, ATQ, auditor, audrex, autonomics, AutoPlots, autoReg, BaalChIP, BallMapper, BAMBI, barcodetrackR, bartMan, basedosdados, BasketballAnalyzeR, BatchGetSymbols, BAwiR, bayesammi, BayesianReasoning, bayesianVARs, BayesMortalityPlus, bayesROE, BayesSpace, baystability, BCEA, Bchron, bdrc, bdscale, bea.R, bennu, Bernadette, betaclust, betaHMM, bettr, bfw, BIGL, billboarder, binGroup2, biometryassist, BioNAR, bioSNR, biovizBase, BloodCancerMultiOmics2017, BoundaryStats, braidReports, bridger, bridgesampling, brinton, bsseq, bsynth, BTSPAS, bulkAnalyseR, BuyseTest, CAGEr, callsync, campfin, car, CarletonStats, CATALYST, causalDisco, CCPlotR, celda, cellpypes, cellWise, CEMiTool, Certara.VPCResults, CFO, CGPfunctions, chillR, ChIPexoQual, ChIPpeakAnno, ChIPseeker, chronicle, citationchaser, CiteFuse, clifro, clintools, ClussCluster, ClusTCR2, clusterExperiment, ClusterFoldSimilarity, ClusterVAR, clustifyr, CMapViz, cmcR, CNViz, codez, cogeqc, CohortSurvival, colocr, colordistance, colorist, colors3d, comapr, communication, COMPASS, ComplexUpset, complmrob, ComPrAn, condformat, condvis2, conformalInference.fd, conserveR, corncob, corporaexplorer, coseq, cosinor2, COTAN, covid19india, cowplot, cpr, crimeutils, criticality, CRMetrics, crosshap, crplyr, csa, csmpv, csranks, CSTools, cTRAP, currr, cyclomort, CytoPipeline, dabestr, daiquiri, DAISIEprep, dampack, dar, DataExplorer, dataprep, dataquieR, DATAstudio, dcurves, DDPNA, Deducer, deeptime, DEGreport, deltaccd, dendroTools, DEploid, derfinderPlot, DescribeDisplay, descriptr, DescrTab2, designit, DESpace, DExMA, DFD, di, DiagrammeR, DImodelsVis, dispRity, DistPlotter, diversityForest, dlstats, dotsViolin, dPCP, drc, dsos, duke, DuplexDiscovereR, dymo, dynaSpec, E4tools, easy.utils, easysurv, echarts4r, EDCimport, eDNAjoint, EFA.MRFA, eHDPrep, EHRtemporalVariability, EIX, ELMER, EMMIXgene, enmSdmX, epe4md, epiCo, EpiEstim, epigraHMM, epikit, EpiNow2, epiregulon.extra, epoxy, eq5dsuite, ER, erccdashboard, eSIR, esquisse, eudract, evalITR, EWSmethods, exceldata, excessmort, ExPanDaR, experiences, explainer, ExploreModelMatrix, expowo, extraChIPs, ez, ezcox, ezEDA, fabletools, fairadapt, fairmodels, FAMetA, fasstr, FAST.R, fastqcr, feasts, fedmatch, ferrn, ffp, FFTrees, fgsea, fic, figuRes2, finalfit, findGSEP, findviews, fingerPro, fishualize, fitbitViz, flexdashboard, flowAI, flowmapper, flowWorkspace, foqat, foreSIGHT, forestmangr, FORTLS, FRK, fSRM, fst4pg, funGp, funModeling, FunnelPlotR, GeDi, gemini, geneticae, GeneTonic, GenomicDistributions, GenomicPlot, GenVisR, GEOexplorer, GeomArchetypal, geomerge, geomeTriD, geomtextpath, gg4way, ggallin, GGally, ggalt, gganimate, ggarrow, ggbio, ggbiplot, ggblanket, ggChernoff, ggcyto, ggdensity, ggdist, GGEBiplots, ggedit, ggetho, ggExtra, ggfields, ggFishPlots, ggfixest, ggforce, ggfortify, gggenomes, gggibbous, ggh4x, ggimage, ggiraphExtra, ggmanh, ggmap, ggmosaic, ggnormalviolin, GGoutlieR, ggpattern, ggpie, ggplate, ggplot.multistats, ggplot2, ggplotAssist, ggpmisc, ggPMX, ggpp, ggprism, ggpubr, ggQQunif, ggquickeda, ggraph, ggrcs, ggredist, ggrepel, ggridges, ggsankeyfier, ggsc, ggsci, ggseg3d, ggshadow, ggside, ggspatial, ggspavis, ggspectra, ggstar, ggstats, ggtern, ggtext, ggthemes, ggtree, ggupset, ggwordcloud, GimmeMyPlot, GLMMcosinor, gluvarpro, googleway, GrafGen, grandR, GRaNIE, greatR, Greymodels, GRNNs, GSEMA, gt, gtExtras, gwaRs, gwavr, haldensify, halfcircle, HDStIM, healthfinance, healthyR, heapsofpapers, heatmaply, hemispheR, heterogen, heuristicsmineR, hiAnnotator, HiCBricks, HiContacts, hierarchicalSets, hilldiv, hillshader, hockeystick, hrbrthemes, HVT, hydroroute, hypeR, HYPEtools, ibawds, iCOBRA, ICSClust, idefix, iDINGO, idiogramFISH, idopNetwork, idr2d, iglu, iheatmapr, ILoReg, immunarch, imt, IncDTW, ingredients, inlamemi, inlcolor, insurancerating, InterCellar, interpretCI, inTextSummaryTable, intradayModel, invacost, iNZightPlots, ip2location, ip2proxy, ipeaplot, iprior, isoorbi, iwaqr, jackstrap, jcolors, jenga, jskm, jsmodule, kableExtra, Karen, katdetectr, kayadata, lablaster, labNorm, lambdaTS, lconnect, ldatuning, ldhmm, leaflet, legendry, lemon, lfstat, LifeInsureR, LightLogR, lilikoi, LinkHD, LipidMS, LipidomicsR, LLM, lolliplot, longitudinalcascade, longreadvqs, loon.ggplot, LorenzRegression, LorMe, LSTS, MALDIcellassay, MAnorm2, mapedit, mapview, marcher, MarketMatching, MARVEL, MaxMC, MBNMAdose, mbRes, MCbiclust, MCOE, MDPIexploreR, metabolic, metaplot, MetMashR, metools, metR, microbiome, microeco, microhaplot, miic, mimager, miRetrieve, mixgb, mixtools, MKdescr, MKmisc, mlbplotR, mlr3viz, mobileRNA, mobr, MOCHA, mod2rm, modeltime, moderate.mediation, moodleR, MorphoRegions, Morphoscape, MortalityTables, mosdef, motifr, MouseFM, mousetrap, movementsync, mplot, mpra, MSmix, MSnbase, mtb, mulea, MultBiplotR, multibreakeR, multiWGCNA, musicatk, naive, NanoMethViz, ncappc, NetSimR, NetworkExtinction, NeuralNetTools, NeuralSens, NeuroDecodeR, neutralitytestr, nflplotR, ngramr, ngsReports, NHSRplotthedots, NiLeDAM, nima, NIMAA, nipalsMCIA, NonParRolCor, normaliseR, npde, nullranges, numbat, obliqueRSF, ogrdbstats, oHMMed, OncoBayes2, oncrawlR, openPrimeR, OpenRepGrid, OpenRepGrid.ic, ordr, oreo, OSLdecomposition, OUTRIDER, palettes, PAMmisc, PAMscapes, PathoStat, PathwaySpace, patientProfilesVis, pcaExplorer, pctax, pcutils, pcvr, peakPantheR, pedbp, Pedixplorer, petersenlab, PFIM, phantasus, phdcocktail, pheatmap, phsmethods, phylepic, phyloseq, piano, piecenorms, PieGlyph, pimeta, pioneeR, pipeComp, PIUMA, pivmet, pixiedust, pkgdepR, plotbb, plotdap, plotGrouper, plothelper, plotluck, plotly, plotor, plotthis, PLSDAbatch, plutor, pmev, pmxTools, pointblank, popstudy, poweRbal, ppcSpatial, PRECAST, pRecipe, predictNMB, pressuRe, prim, primerTree, PRISMA2020, proActiv, processmapR, projectR, projpred, pRoloc, pRolocGUI, PRONE, prophet, proteus, psycho, ptairMS, PublicWorksFinanceIT, pvaluefunctions, PVplr, qdap, qicharts, qicharts2, qmtools, qPLEXanalyzer, QRAGadget, quadmesh, quadrupen, quantilogram, QurvE, r2dii.plot, r2spss, r6qualitytools, radiant.basics, radiant.data, radiant.model, radiant.multivariate, RadioGx, randomcoloR, rankinPlot, raptr, rassta, RavenR, rawDiag, rayshader, Rcan, rcartocolor, RcmdrPlugin.KMggplot2, RcmdrPlugin.RiskDemo, RDS, RedeR, refitME, regioneReloaded, regrrr, relsurv, remote, rENA, ReporterScore, reportRmd, RestoreNet, restriktor, RevGadgets, rexposome, rfm, rfPermute, RGraphSpace, ribosomeProfilingQC, RIdeogram, rifi, rifiComparative, rliger, RMixtComp, RMixtCompUtilities, RNAdecay, Rnest, RNewsflow, rnmamod, Rnmr1D, roahd, RoBMA, RobMixReg, RoBSA, robvis, rPackedBar, rphylopic, RSDA, rsimsum, RSP, RSSL, RTCGA, RTNsurvival, Rtrack, RTSA, RtsEva, ruv, rwicc, saemix, SangerTools, saotd, SARC, SBMSplitMerge, scattermore, scBubbletree, sccca, sccomp, sccore, scCustomize, scDataviz, scDotPlot, scico, scifer, scoper, scPipe, ScreenR, scRNAseqApp, scruff, scTGIF, scUtils, SCVA, SDGdetector, seahtrue, SeaVal, SEERaBomb, segclust2d, segen, SEIRfansy, SemNeT, sensobol, seqCAT, SeqFeatR, seqsetvis, sergeant, serocalculator, Seurat, sfcentral, SFSI, shadowtext, sharpshootR, shazam, SHELF, ShellChron, sherlock, shinyloadtest, shinymodels, shinyquiz, SIAMCAT, SIAmodules, sievePH, sigmajs, Signac, signatureSearch, signeR, signs, sim.BA, simmer.plot, simPIC, simrel, simts, simulariatools, sistmr, sitepickR, SixSigma, sjPlot, sjSDM, sketchR, skpr, sleeperapi, sleepwalk, slendr, SmartEDA, SMITE, SNPhood, SoftBart, SPARTAAS, spatgeom, spatialDE, spatialTIME, SpatMCA, Spectran, spikeSlabGAM, spiky, SpliceWiz, spooky, squat, SSDM, ssdtools, SSIMmap, ssMRCD, stability, stacomiR, starma, statebins, statgenHTP, statgenMPP, statgenSTA, stepp, stminsights, STMotif, structToolbox, strvalidator, suddengains, SUMMER, Summix, SuperCell, superheat, supportR, surveil, surveydata, surveyexplorer, surveyvoi, survivalAnalysis, survminer, SVMMaj, SWMPrExtension, TailClassifier, tastypie, taylor, tcgaViz, TCIU, TDA, teal.modules.clinical, teal.modules.general, telefit, telraamStats, Tendril, tern, tessellation, testcorr, tetragon, theftdlc, thematic, tidyBdE, tidybins, tidybulk, tidychangepoint, tidyCoverage, tidygate, tidypaleo, tidyterra, time.slots, timeplyr, tintin, tLOH, tntpr, topoDistance, topr, tornado, ToxicoGx, toxSummary, trackViewer, transite, transmogR, triptych, tRNA, TRONCO, tsgc, TSstudio, tvm, tvthemes, twoddpcr, txshift, ubiquity, ufs, ukbtools, UMI4Cats, umiAnalyzer, umx, UnalR, UNCOVER, unhcrthemes, UniprotR, UpSetR, upstartr, useful, uxr, VALERIE, validata, vchartr, vDiveR, vfinputs, vici, vidger, viscomplexr, visdat, ViSe, vissE, vivainsights, vmeasur, volker, voteogram, Voyager, vvshiny, wacolors, washi, waves, webr, WeightedTreemaps, weitrix, whomds, wilson, wordPuzzleR, wpa, wsjplot, x3ptools, Xeva, xgxr, xray, yamlet, ZINAR1, ztable
Reverse suggests: AcademicThemes, activAnalyzer, ahpsurvey, airt, aldvmm, aopdata, apexcharter, aqp, AquaBEHER, bakeoff, bangladesh, baseballr, BayesDissolution, bayesplot, bayesTFR, BayesTools, bbk, bench, bestNormalize, BindingSiteFinder, bnRep, brainGraph, broom.helpers, brpop, bscui, CAESAR.Suite, camcorder, canaper, cancensus, cansim, CAST, censobr, Census2016, cfDNAPro, cfr, ch, chron, ClassifyR, climaemet, clinDataReview, cmhc, CohortCharacteristics, CohortConstructor, collapse, colormap, colorspace, colouR, colourvalues, cols4all, ConfusionTableR, constructive, correlationfunnel, corrViz, coveffectsplot, covidmx, cpp11, cpsvote, cqn, czechrates, DAPAR, dartR, dartR.base, dartR.captive, dartR.popgen, debkeepr, decisionSupport, deckgl, deepdep, DiDforBigData, dimRed, dint, DirectEffects, disclapmix, DisImpact, DMCfun, donutsk, drhur, DrugUtilisation, ecolRxC, ecotraj, ecpc, edibble, eiCircles, emmeans, enrichplot, epiCleanr, EpiCompare, epiR, EWCE, extras, familiar, fec16, finalsize, flextable, fmx, forecast, forrel, funkycells, fxTWAPLS, gdalraster, gdm, gDRutils, geobr, ggalign, ggcharts, ggdendro, ggDoubleHeat, ggfacto, gghdx, ggOceanMaps, ggpointless, ggstudent, ggsurvfit, ggthemeUL, GIFT, glottospace, gMCPLite, gMOIP, graphicalMCP, graphsim, grates, gravmagsubs, gridpattern, grobblR, growthPheno, gsDesign, guardianapi, Guerry, h2o, healthyR.ai, healthyR.ts, hesim, heumilkr, himach, HistData, HotellingEllipse, httk, huxtable, hystReet, igraph, IHW, IHWpaper, imagefluency, imager, incidence, incidence2, IncidencePrevalence, industRial, inlabru, ipumsr, irrICC, jlmerclusterperm, jtools, jubilee, JWileymisc, k5, KaradaColor, khroma, kidsides, LBSPR, LDAShiny, learningtower, LMMstar, loon, lphom, LSMRealOptions, lspline, MAGeCKFlute, mapbayr, markerpen, MBMethPred, MBNMAtime, MicrobiotaProcess, MiscMetabar, miWQS, mmrm, MNLpred, MOSim, nascaR.data, nestedLogit, NestLink, NetMix, netseg, nflseedR, NHSRdatasets, NitrogenUptake2016, NlsyLinks, nomisr, nzelect, oceanwaves, ohenery, OlinkAnalyze, openintro, OPWeight, OVESEG, PairViz, pathlinkR, PatientProfiles, pedalfast.data, permimp, picker, piecepackr, pillar, planet, Platypus, plotgardener, plyinteractions, pmartR, poems, portfolioBacktest, portvine, prioritizr, profiplots, ProteoDisco, protGear, protti, public.ctn0094data, public.ctn0094extra, purgeR, pwr, qlifetable, qqboxplot, Radviz, rattle, raw, RBesT, RcmdrPlugin.MA, RCzechia, reactablefmtr, recurse, redist, repoRter.nih, rfars, RImagePalette, rKolada, RnBeads, rnnmf, rODE, RRphylo, rsprite2, rstpm2, rtide, rxode2, sageR, SAMBA, SAMprior, santoku, scatterpie, scHOT, scMerge, SCpubr, scRepertoire, SDMtune, see, segregation, seriation, sesame, sftrack, shiny.telemetry, shinyaframe, shinyWidgets, sigminer, simstudy, sits, skylight, SLOPE, smidm, sparseHessianFD, sparseMVN, splatter, SSVS, StateLevelForest, streamDepletr, superb, surveillance, survtype, sweep, TCGAbiolinks, TFEA.ChIP, threesixtygiving, tidydann, tidyquant, tidySEM, tidytext, tidytransit, tikzDevice, timetk, tinytable, tis, toastui, tongfen, torchaudio, treeclimbR, treeshap, tsbox, tsibble, tune, UCSCXenaShiny, ukpolice, unusualprofile, usincometaxes, usmap, vangogh, VarSelLCM, vcfR, vinereg, viridis, vivid, voi, voronoiTreemap, vroom, vsp, Wats, webSDM, WoodSimulatR, worldbank, WQM, xaringanthemer, ypr, zipangu, zoo

Linking:

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