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
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
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, actel, actxps, adestr, ADMUR, adobeanalyticsr, AeRobiology, AFM, afmToolkit, alakazam, allMT, AlpsNMR, AMPLE, animalcules, animint2, aoristic, APCtools, apyramid, artMS, aRtsy, auditor, audrex, autonomics, AutoPlots, autoReg, BaalChIP, babsim.hospital, BallMapper, BAMBI, barcodetrackR, basedosdados, BasketballAnalyzeR, BatchGetSymbols, BAwiR, bayesammi, BayesianReasoning, bayesianVARs, BayesMortalityPlus, bayesROE, BayesSpace, baystability, BCEA, Bchron, bdrc, bdscale, bea.R, bennu, Bernadette, betaclust, bfw, BIGL, billboarder, binGroup2, BiocOncoTK, biometryassist, BioNAR, bioSNR, biovizBase, BloodCancerMultiOmics2017, BoundaryStats, bridger, bridgesampling, brinton, bsseq, BTSPAS, bulkAnalyseR, BuyseTest, callsync, campfin, car, CarletonStats, CATALYST, causalDisco, CCPlotR, celda, cellpypes, cellWise, CEMiTool, CGPfunctions, chillR, ChIPexoQual, chronicle, circumplex, citationchaser, CiteFuse, clifro, clintools, ClussCluster, clusterExperiment, clustifyr, CMapViz, cmcR, CNViz, codez, cogeqc, CohortSurvival, colocr, colordistance, colorist, colors3d, comapr, communication, COMPASS, ComplexUpset, complmrob, ComPrAn, concordexR, condformat, condvis2, conformalInference.fd, conserveR, corncob, corporaexplorer, coseq, cosinor2, COTAN, covid19india, cowplot, cpr, cregg, crimeutils, criticality, CRMetrics, crosshap, crplyr, csa, csmpv, csranks, CSTools, cTRAP, currr, cyclomort, CytoPipeline, dabestr, daiquiri, DAISIEprep, dampack, DanielBiostatistics10th, DAPAR, DataExplorer, dataprep, dataquieR, DATAstudio, dcurves, DDPNA, Deducer, deeptime, DEGreport, deltaccd, dendroTools, derfinderPlot, DescribeDisplay, descriptr, DescrTab2, DESpace, destiny, DExMA, di, DiagrammeR, DImodelsVis, dispRity, DistPlotter, diversityForest, dlstats, dotsViolin, dPCP, drc, dsos, duke, dymo, dynaSpec, E4tools, easy.utils, echarts4r, EFA.MRFA, eHDPrep, EHRtemporalVariability, EIX, ELMER, EMMIXgene, enmSdmX, epe4md, EpiEstim, epigraHMM, epikit, EpiNow2, epoxy, ER, erccdashboard, eSIR, esquisse, eudract, evalITR, EventStudy, EWSmethods, exceldata, excessmort, ExPanDaR, experiences, expertsurv, ExploreModelMatrix, extraChIPs, ez, ezcox, ezEDA, fabletools, fairadapt, fairmodels, FAMetA, fasstr, FAST.R, fastqcr, feasts, fedmatch, ferrn, ffp, FFTrees, fgsea, fic, figuRes2, finalfit, findviews, fingerPro, fishualize, fitbitViz, fixedincome, flexdashboard, flowAI, flowWorkspace, foqat, foreSIGHT, forestmangr, FORTLS, FRK, fSRM, fst4pg, funGp, FunnelPlotR, gemini, geneticae, GeneTonic, GenomicDistributions, GenomicPlot, GenVisR, GEOexplorer, geomerge, geomtextpath, gg4way, ggallin, GGally, ggalt, gganimate, ggbio, ggbiplot, ggblanket, ggChernoff, ggcyto, ggdensity, ggdist, GGEBiplots, ggedit, ggetho, ggExtra, ggfields, ggfixest, ggforce, ggfortify, gggibbous, ggh4x, gghdr, 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, ggsci, ggseg3d, ggshadow, ggside, ggspatial, ggspectra, ggstar, ggstats, ggtern, ggtext, ggthemes, ggtree, ggupset, ggwordcloud, GimmeMyPlot, GLMMcosinor, gluvarpro, googleway, grandR, GRaNIE, greatR, Greymodels, GRNNs, 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, ImmuneSpaceR, IncDTW, IncidencePrevalence, ingredients, inlcolor, insurancerating, InterCellar, interpretCI, inTextSummaryTable, intradayModel, invacost, iNZightPlots, ip2location, ip2proxy, iprior, isoorbi, iwaqr, jackstrap, jenga, jskm, kableExtra, Karen, kayadata, lablaster, labNorm, lambdaTS, LDATree, ldatuning, ldhmm, leaflet, lemon, lfstat, LifeInsureR, lilikoi, LinkHD, LipidMS, LLM, LMMstar, lolliplot, longitudinalcascade, loon.ggplot, LSTS, MAnorm2, mapedit, mapview, marcher, MarketMatching, MARVEL, MaxMC, MBNMAdose, mbRes, MCbiclust, MCOE, metabolic, metaplot, metools, metR, microbiome, microeco, microhaplot, miic, mimager, miRetrieve, mixgb, mixtools, MKdescr, MKmisc, mlbplotR, mlr3viz, mobr, MOCHA, mod2rm, modeltime, moodleR, Morphoscape, MortalityTables, MOSim, motifr, MouseFM, mousetrap, movementsync, mplot, mpra, MQmetrics, msmtools, MSnbase, MSstatsLiP, mtb, MultBiplotR, multibreakeR, MultiRNAflow, multiWGCNA, muscat, myTAI, naive, NanoMethViz, ncappc, NetSimR, NetworkExtinction, NeuralNetTools, NeuralSens, NeuroDecodeR, neutralitytestr, nflplotR, ngramr, ngsReports, NHSRplotthedots, NiLeDAM, nima, NIMAA, nipalsMCIA, NonParRolCor, npde, nullranges, numbat, obliqueRSF, ogrdbstats, oHMMed, OncoBayes2, oncrawlR, openPrimeR, OpenRepGrid, OpenRepGrid.ic, ordr, oreo, OSLdecomposition, OUTRIDER, palettes, PAMmisc, PAMscapes, PathoStat, patientProfilesVis, pcaExplorer, pcutils, PDATK, peakPantheR, pedbp, PFIM, phantasus, phdcocktail, pheatmap, phsmethods, phyloseq, Pi, piano, PieGlyph, pimeta, pipeComp, pivmet, pixiedust, pkgdepR, plotbb, plotdap, plotGrouper, plothelper, plotluck, plotly, plutor, pmxTools, pointblank, popstudy, ppcSpatial, PRECAST, pRecipe, predictNMB, pressuRe, prim, primerTree, PRISMA2020, proActiv, processmapR, projectR, projpred, pRoloc, pRolocGUI, prophet, proteus, psycho, ptairMS, PublicWorksFinanceIT, pvaluefunctions, PVplr, qdap, qicharts, qicharts2, qmtools, qPLEXanalyzer, QRAGadget, quadmesh, quadrupen, QuantileGH, QurvE, r2dii.plot, r2spss, radiant.basics, radiant.data, radiant.model, radiant.multivariate, RadioGx, randomcoloR, rankinPlot, raptr, rassta, RavenR, rayshader, Rcan, rcartocolor, RcmdrPlugin.KMggplot2, RcmdrPlugin.RiskDemo, RCPA, RDS, refitME, regioneReloaded, regrrr, relsurv, remote, rENA, ReporterScore, reportRmd, RestoreNet, RevGadgets, rexposome, rfPermute, RGraphSpace, ribosomeProfilingQC, RIdeogram, rifi, rifiComparative, RMixtComp, RMixtCompUtilities, RNAdecay, RNewsflow, rnmamod, Rnmr1D, roahd, RoBMA, RobMixReg, RoBSA, robvis, rPackedBar, RSDA, rsimsum, RSP, RSSL, RTCGA, RTNsurvival, Rtrack, RTSA, ruv, rwicc, saemix, SangerTools, saotd, SARC, SBMSplitMerge, scattermore, scBubbletree, sccomp, sccore, scCustomize, scDataviz, scico, scifer, scoper, scPipe, ScreenR, scRNAseqApp, scruff, scTGIF, scUtils, SCVA, SDGdetector, SeaVal, SEERaBomb, segclust2d, segen, SEIRfansy, SemNeT, sensobol, seqArchRplus, seqCAT, SeqFeatR, seqsetvis, sergeant, Seurat, shadowtext, sharpshootR, shazam, SHELF, ShellChron, sherlock, shinyloadtest, shinymodels, shinyquiz, SIAMCAT, SIAmodules, sievePH, sigmajs, Signac, signatureSearch, signeR, signs, simmer.plot, simrel, simts, simulariatools, sistmr, sitepickR, SixSigma, sjPlot, skpr, 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, superheat, supportR, surveil, surveydata, surveyexplorer, surveyvoi, survivalAnalysis, survminer, SWMPrExtension, TailClassifier, tastypie, taylor, tcgaViz, TCIU, TDA, teachingApps, teal.modules.clinical, telefit, Tendril, tern, tessellation, testcorr, tetragon, theft, thematic, tidyBdE, tidybins, tidybulk, tidygate, tidypaleo, tidyterra, time.slots, TimiRGeN, tLOH, topoDistance, topr, tornado, ToxicoGx, trackViewer, transite, triptych, tRNA, TRONCO, TSstudio, tvm, tvthemes, twoddpcr, txshift, ubiquity, ufs, ukbtools, UMI4Cats, umiAnalyzer, umx, UNCOVER, unhcrthemes, UniprotR, uniswappeR, UpSetR, upstartr, useful, uxr, VALERIE, validata, variancePartition, vDiveR, vfinputs, vici, vidger, viscomplexr, visdat, ViSEAGO, 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, bakeoff, bangladesh, baseballr, BayesDissolution, bayesplot, bayesTFR, BayesTools, bench, bestNormalize, BindingSiteFinder, brainGraph, broom.helpers, bscui, camcorder, canaper, cancensus, cansim, CAST, censobr, Census2016, cfDNAPro, cfr, ch, choroplethr, chron, ClassifyR, climaemet, clinDataReview, cmhc, collapse, colormap, colorspace, colouR, colourvalues, cols4all, ConfusionTableR, constructive, correlationfunnel, corrViz, coveffectsplot, covidmx, cpp11, cpsvote, cqn, czechrates, dartR, dartR.base, dartR.captive, dartR.popgen, debkeepr, decisionSupport, deckgl, deepdep, DIAlignR, DiDforBigData, dimRed, dint, DirectEffects, disclapmix, DisImpact, DMCfun, drhur, ecolRxC, ecotraj, ecpc, eiCircles, emmeans, enrichplot, epiCleanr, EpiCompare, epiR, EWCE, extras, familiar, fec16, ffsimulator, finalsize, flextable, forrel, funkycells, fxTWAPLS, gdalraster, genekitr, geobr, ggcharts, ggdendro, ggDoubleHeat, gghdx, ggOceanMaps, ggparliament, ggpointless, ggstudent, ggsurvfit, ggthemeUL, GIFT, glottospace, gMCPLite, gMOIP, graphsim, grates, grattan, gravmagsubs, grobblR, growthPheno, gsDesign, gtsummary, guardianapi, Guerry, h2o, healthyR.ai, healthyR.ts, hesim, himach, HistData, httk, huxtable, hystReet, igraph, IHW, IHWpaper, imagefluency, imager, incidence, incidence2, industRial, inlabru, ipumsr, irrICC, ISAnalytics, jlmerclusterperm, jtools, jubilee, JWileymisc, k5, KaradaColor, katdetectr, khroma, kidsides, LBSPR, LDAShiny, learningtower, loon, lphom, LSMRealOptions, lspline, MAGeCKFlute, mapbayr, markerpen, MBMethPred, MBNMAtime, MicrobiotaProcess, MiscMetabar, miWQS, mmrm, MNLpred, mverse, nestedLogit, NestLink, NetMix, netseg, nflseedR, NHSRdatasets, NitrogenUptake2016, NlsyLinks, nomisr, nzelect, oceanwaves, ohenery, OlinkAnalyze, openintro, OPWeight, OVESEG, PairViz, pedalfast.data, permimp, picker, piecepackr, pillar, planet, Platypus, plotgardener, plyinteractions, pmartR, portfolioBacktest, portvine, prioritizr, PRISMAstatement, profiplots, ProteoDisco, protGear, pspline.inference, public.ctn0094data, public.ctn0094extra, purgeR, pwr, qlifetable, qqboxplot, Radviz, rattle, raw, rb3, RBesT, RcmdrPlugin.MA, RCzechia, reactablefmtr, recurse, redist, repoRter.nih, rfars, RImagePalette, RnBeads, 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, tis, toastui, tongfen, torchaudio, treeshap, tsbox, tsibble, UCSCXenaShiny, ukpolice, unusualprofile, usincometaxes, usmap, vangogh, VarSelLCM, vcfR, vinereg, viridis, vivid, voi, voronoiTreemap, vroom, vsp, Wats, webSDM, WoodSimulatR, xaringanthemer, ypr, zipangu, zoo

Linking:

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