{
  "_id": "6a10797cacfb0bcc41cad7da",
  "Package": "plotfunctions",
  "Title": "Various Functions to Facilitate Visualization of Data and\nAnalysis",
  "Version": "1.5",
  "Date": "2025-12-10",
  "Authors@R": "person(\"Jacolien\", \"van Rij\", role=c(\"aut\", \"cre\"), email=\"j.c.van.rij@rug.nl\")",
  "Author": "Jacolien van Rij [aut, cre]",
  "Maintainer": "Jacolien van Rij <j.c.van.rij@rug.nl>",
  "Description": "When analyzing data, plots are a helpful tool for\nvisualizing data and interpreting statistical models. This\npackage provides a set of simple tools for building plots\nincrementally, starting with an empty plot region, and adding\nbars, data points, regression lines, error bars, gradient\nlegends, density distributions in the margins, and even\npictures. The package builds further on R graphics by simply\ncombining functions and settings in order to reduce the amount\nof code to produce for the user. As a result, the package does\nnot use formula input or special syntax, but can be used in\ncombination with default R plot functions. Note: Most of the\nfunctions were part of the package 'itsadug', which is now\nsplit in two packages: 1. the package 'itsadug', which contains\nthe core functions for visualizing and evaluating nonlinear\nregression models, and 2. the package 'plotfunctions', which\ncontains more general plot functions.",
  "URL": "https://jacolienvanrij.com/tutorials.html",
  "License": "GPL (>= 2)",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.3",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-06 08:32:28 UTC",
    "User": "root"
  },
  "Repository": "https://jacolien.r-universe.dev",
  "Date/Publication": "2025-12-22 14:30:02 UTC",
  "RemoteUrl": "https://github.com/cran/plotfunctions",
  "RemoteRef": "HEAD",
  "RemoteSha": "e2d3d1d63abe0e0b56152279f46b9a3dbb8f9412",
  "MD5sum": "b9fb2ec575af0407ac8f5cefd5d0523c",
  "_user": "jacolien",
  "_type": "src",
  "_file": "plotfunctions_1.5.tar.gz",
  "_fileid": "14134507c44a02122d68c474de2d2af16ee7e2545f5950dfca46311a434053b0",
  "_filesize": 1836333,
  "_sha256": "14134507c44a02122d68c474de2d2af16ee7e2545f5950dfca46311a434053b0",
  "_created": "2026-05-06T08:32:28.000Z",
  "_published": "2026-05-22T15:42:52.845Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77413296016,
      "time": 111,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6825851782"
    },
    {
      "job": 77413295902,
      "time": 127,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6825853699"
    },
    {
      "job": 77413296310,
      "time": 174,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6825857141"
    },
    {
      "job": 77413296123,
      "time": 173,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6825856103"
    },
    {
      "job": 77413295548,
      "time": 170,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6825819299"
    },
    {
      "job": 77413295483,
      "time": 84,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7164555398"
    },
    {
      "job": 77413296117,
      "time": 71,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6825839285"
    },
    {
      "job": 77413296306,
      "time": 75,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6825840231"
    },
    {
      "job": 77413296017,
      "time": 69,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6825838813"
    }
  ],
  "_buildurl": "https://github.com/r-universe/jacolien/actions/runs/25424670089",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/plotfunctions",
  "_commit": {
    "id": "e2d3d1d63abe0e0b56152279f46b9a3dbb8f9412",
    "author": "Jacolien van Rij <j.c.van.rij@rug.nl>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.5\n",
    "time": 1766413802
  },
  "_maintainer": {
    "name": "Jacolien van Rij",
    "email": "j.c.van.rij@rug.nl",
    "login": "jacolien",
    "uuid": 12734899
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "sp",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 7,
  "_updates": [
    {
      "week": "2025-52",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.5",
      "date": "2025-12-22"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "jacolien",
      "count": 1,
      "uuid": 12734899
    }
  ],
  "_userbio": {
    "uuid": 12734899,
    "type": "user",
    "name": "Jacolien van Rij"
  },
  "_downloads": {
    "count": 5256,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/plotfunctions"
  },
  "_searchresults": 104,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/plotfunctions.html",
    "manual.pdf"
  ],
  "_realowner": "jacolien",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0",
      "date": "2016-05-27"
    },
    {
      "version": "1.2",
      "date": "2017-04-24"
    },
    {
      "version": "1.3",
      "date": "2017-08-30"
    },
    {
      "version": "1.4",
      "date": "2020-04-28"
    },
    {
      "version": "1.5",
      "date": "2025-12-22"
    }
  ],
  "_exports": [
    "add_bars",
    "add_n_points",
    "addInterval",
    "alpha",
    "alphaPalette",
    "axesLabels",
    "check_normaldist",
    "color_contour",
    "convertFile",
    "dotplot_error",
    "drawDevArrows",
    "emptyPlot",
    "errorBars",
    "fill_area",
    "find_n_neighbors",
    "findAbsMin",
    "firstLetterCap",
    "get_palette",
    "getArrowPos",
    "getCoords",
    "getDec",
    "getFigCoords",
    "getProps",
    "getRange",
    "getRatioCoords",
    "gradientLegend",
    "group_sort",
    "inch2coords",
    "isColor",
    "keepFigRatio",
    "legend_margin",
    "list2str",
    "marginDensityPlot",
    "move_n_point",
    "orderBoxplot",
    "plot_error",
    "plot_image",
    "plot_signifArea",
    "plotsurface",
    "se",
    "sortBoxplot",
    "sortGroups"
  ],
  "_datasets": [
    {
      "name": "img",
      "title": "Image object.",
      "object": "img",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "add_bars",
      "title": "Adding bars to an existing plot.",
      "concept": [
        "Functions for plotting"
      ],
      "topics": [
        "add_bars"
      ]
    },
    {
      "page": "add_n_points",
      "title": "Add groups of points to a plot",
      "concept": [
        "Functions for plotting"
      ],
      "topics": [
        "add_n_points"
      ]
    },
    {
      "page": "addInterval",
      "title": "Draw intervals or arrows on plots.",
      "concept": [
        "Functions for plotting"
      ],
      "topics": [
        "addInterval"
      ]
    },
    {
      "page": "alpha",
      "title": "Adjusting the transparency of colors.",
      "concept": [
        "Functions for plotting",
        "Utility functions for plotting"
      ],
      "topics": [
        "alpha"
      ]
    },
    {
      "page": "alphaPalette",
      "title": "Manipulate the transparency in a palette.",
      "concept": [
        "Functions for plotting"
      ],
      "topics": [
        "alphaPalette"
      ]
    },
    {
      "page": "axesLabels",
      "title": "Format axes labels.",
      "topics": [
        "axesLabels"
      ]
    },
    {
      "page": "check_normaldist",
      "title": "Compare distribution of data with normal distribution.",
      "concept": [
        "Functions for plotting"
      ],
      "topics": [
        "check_normaldist"
      ]
    },
    {
      "page": "color_contour",
      "title": "Creates a contour plot with colored background.",
      "concept": [
        "Functions for plotting"
      ],
      "topics": [
        "color_contour"
      ]
    },
    {
      "page": "convertFile",
      "title": "Replacing separators (for example, decimal and thousand separators).",
      "topics": [
        "convertFile"
      ]
    },
    {
      "page": "dotplot_error",
      "title": "Utility function",
      "concept": [
        "Functions for plotting"
      ],
      "topics": [
        "dotplot_error"
      ]
    },
    {
      "page": "drawDevArrows",
      "title": "Draw arrows between different plots.",
      "concept": [
        "Functions for plotting"
      ],
      "topics": [
        "drawDevArrows"
      ]
    },
    {
      "page": "emptyPlot",
      "title": "Utility function",
      "concept": [
        "Functions for plotting"
      ],
      "topics": [
        "emptyPlot"
      ]
    },
    {
      "page": "errorBars",
      "title": "Add error bars to a plot.",
      "concept": [
        "Functions for plotting"
      ],
      "topics": [
        "errorBars"
      ]
    },
    {
      "page": "fill_area",
      "title": "Utility function",
      "concept": [
        "Functions for plotting"
      ],
      "topics": [
        "fill_area"
      ]
    },
    {
      "page": "find_n_neighbors",
      "title": "Return n neighbors around given indices.",
      "concept": [
        "Utility functions"
      ],
      "topics": [
        "find_n_neighbors"
      ]
    },
    {
      "page": "findAbsMin",
      "title": "Return the value (or the element with the value) closest to zero.",
      "concept": [
        "Utility functions"
      ],
      "topics": [
        "findAbsMin"
      ]
    },
    {
      "page": "firstLetterCap",
      "title": "Capitalize first letter of a string.",
      "concept": [
        "Utility functions"
      ],
      "topics": [
        "firstLetterCap"
      ]
    },
    {
      "page": "get_palette",
      "title": "Retrieve the color scheme for contour plots.",
      "concept": [
        "Utility functions"
      ],
      "topics": [
        "get_palette"
      ]
    },
    {
      "page": "getArrowPos",
      "title": "Converts coordinates in current plot region to device positions (in inch).",
      "concept": [
        "Utility functions"
      ],
      "topics": [
        "getArrowPos"
      ]
    },
    {
      "page": "getCoords",
      "title": "Convert proportions into coordinates of the plot or figure region.",
      "concept": [
        "Functions for plotting"
      ],
      "topics": [
        "getCoords"
      ]
    },
    {
      "page": "getDec",
      "title": "Return the number of decimal places.",
      "concept": [
        "Utility functions"
      ],
      "topics": [
        "getDec"
      ]
    },
    {
      "page": "getFigCoords",
      "title": "Get the figure region as coordinates of the current plot region, or as corrdinates of the figure region.",
      "concept": [
        "Functions for plotting"
      ],
      "topics": [
        "getFigCoords"
      ]
    },
    {
      "page": "getProps",
      "title": "Transform coordinates into proportions of the figure or plot region.",
      "concept": [
        "Functions for plotting"
      ],
      "topics": [
        "getProps"
      ]
    },
    {
      "page": "getRange",
      "title": "Function for rounding and/or segmenting a range.",
      "concept": [
        "Utility functions"
      ],
      "topics": [
        "getRange"
      ]
    },
    {
      "page": "getRatioCoords",
      "title": "Move a vector n elements forward or backward.",
      "concept": [
        "Utility functions"
      ],
      "topics": [
        "getRatioCoords"
      ]
    },
    {
      "page": "gradientLegend",
      "title": "Add a gradient legend to a plot.",
      "concept": [
        "Functions for plotting"
      ],
      "topics": [
        "gradientLegend"
      ]
    },
    {
      "page": "group_sort",
      "title": "Sort split by grouping predictor.",
      "concept": [
        "Utility functions"
      ],
      "topics": [
        "group_sort"
      ]
    },
    {
      "page": "img",
      "title": "Image object.",
      "topics": [
        "img"
      ]
    },
    {
      "page": "inch2coords",
      "title": "Convert device position (inch) to coordinates in current plot region.",
      "concept": [
        "Utility functions"
      ],
      "topics": [
        "inch2coords"
      ]
    },
    {
      "page": "isColor",
      "title": "Check whether color specifications exists.",
      "concept": [
        "Utility functions"
      ],
      "topics": [
        "isColor"
      ]
    },
    {
      "page": "keepFigRatio",
      "title": "Calculate the height or width in plot coordinates to keep a given ratio relative to the figure.",
      "concept": [
        "Utility functions"
      ],
      "topics": [
        "keepFigRatio"
      ]
    },
    {
      "page": "legend_margin",
      "title": "Add legend with respect to figure instead of plot region.  Allows to move legend to margin of plot.",
      "concept": [
        "Functions for plotting"
      ],
      "topics": [
        "legend_margin"
      ]
    },
    {
      "page": "list2str",
      "title": "Combine list values as string.",
      "concept": [
        "Utility functions"
      ],
      "topics": [
        "list2str"
      ]
    },
    {
      "page": "marginDensityPlot",
      "title": "Plot density of distribution in margins of the plot.",
      "concept": [
        "Functions for plotting"
      ],
      "topics": [
        "marginDensityPlot"
      ]
    },
    {
      "page": "move_n_point",
      "title": "Move a vector n elements forward or backward.",
      "concept": [
        "Utility functions"
      ],
      "topics": [
        "move_n_point"
      ]
    },
    {
      "page": "orderBoxplot",
      "title": "Order boxplot stats following a given ordering.",
      "concept": [
        "Utility functions"
      ],
      "topics": [
        "orderBoxplot"
      ]
    },
    {
      "page": "plot_error",
      "title": "Utility function",
      "concept": [
        "Functions for plotting"
      ],
      "topics": [
        "plot_error"
      ]
    },
    {
      "page": "plot_image",
      "title": "Add images to plots.",
      "concept": [
        "Functions for plotting"
      ],
      "topics": [
        "plot_image"
      ]
    },
    {
      "page": "plot_signifArea",
      "title": "Creates a colored surface plot from data frame input.",
      "topics": [
        "plot_signifArea"
      ]
    },
    {
      "page": "plotsurface",
      "title": "Creates a colored surface plot from data frame input.",
      "concept": [
        "Functions for plotting"
      ],
      "topics": [
        "plotsurface"
      ]
    },
    {
      "page": "se",
      "title": "Calculate standard error of the mean.",
      "concept": [
        "Utility functions"
      ],
      "topics": [
        "se"
      ]
    },
    {
      "page": "sortBoxplot",
      "title": "Produce box-and-whisker plot(s) ordered by function such as mean or median.",
      "concept": [
        "Functions for plotting"
      ],
      "topics": [
        "sortBoxplot"
      ]
    },
    {
      "page": "sortGroups",
      "title": "Sort groups based on a function such as mean value or deviation.",
      "concept": [
        "Utility functions"
      ],
      "topics": [
        "sortGroups"
      ]
    }
  ],
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "plotfunctions.Rmd",
      "filename": "plotfunctions.html",
      "title": "Examples of the package plotfunctions",
      "author": "Jacolien van Rij",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Loading library",
        "Function add_bars",
        "Function check_normaldist",
        "Function dotplot_error",
        "Function drawDevArrows",
        "Function emptyPlot",
        "Function errorBars",
        "Functions getCoords, getProps, and getFigCoords",
        "Function `gradientLegend",
        "Function legend_margin",
        "Function marginDensityPlot",
        "Functions color_contour and plotsurface",
        "Function plot_error",
        "Function plot_image"
      ],
      "created": "2017-04-24 11:21:13",
      "modified": "2020-04-28 09:00:02",
      "commits": 2
    }
  ],
  "_score": 5.059907990584424,
  "_indexed": true,
  "_nocasepkg": "plotfunctions",
  "_universes": [
    "jacolien"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.5",
      "date": "2026-05-06T08:34:33.000Z",
      "distro": "noble",
      "commit": "e2d3d1d63abe0e0b56152279f46b9a3dbb8f9412",
      "fileid": "4799800c2fad6275d6510097ae333b64d7c3ae76cf97f195ca5b0867ec160ce2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jacolien/actions/runs/25424670089"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.5",
      "date": "2026-05-06T08:34:40.000Z",
      "distro": "noble",
      "commit": "e2d3d1d63abe0e0b56152279f46b9a3dbb8f9412",
      "fileid": "db412ce01e021b5c8b488a28e3a82d9e155f57034ee9464561aa6bdf4364fb7d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jacolien/actions/runs/25424670089"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.5",
      "date": "2026-05-06T08:34:57.000Z",
      "commit": "e2d3d1d63abe0e0b56152279f46b9a3dbb8f9412",
      "fileid": "072850c4fea4ed7021ab6877eec48d233bae157ba7ea508afb0d1c0f74f3cf15",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jacolien/actions/runs/25424670089"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.5",
      "date": "2026-05-06T08:34:47.000Z",
      "commit": "e2d3d1d63abe0e0b56152279f46b9a3dbb8f9412",
      "fileid": "395ab43e22e473b3db78fe90bc6c4a8ddf2a329a768316f7b4c5fb95fc073e2f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jacolien/actions/runs/25424670089"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.5",
      "date": "2026-05-06T08:33:42.000Z",
      "commit": "e2d3d1d63abe0e0b56152279f46b9a3dbb8f9412",
      "fileid": "c098082e4948d94331f1f21e11c3fe8da4490d6ecc04f0469e95cdb723db44b1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jacolien/actions/runs/25424670089"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.5",
      "date": "2026-05-06T08:33:43.000Z",
      "commit": "e2d3d1d63abe0e0b56152279f46b9a3dbb8f9412",
      "fileid": "0a7906e229e244d7d7bf46715664cba784c389894ac26ce5505a6ca754515897",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jacolien/actions/runs/25424670089"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.5",
      "date": "2026-05-06T08:33:39.000Z",
      "commit": "e2d3d1d63abe0e0b56152279f46b9a3dbb8f9412",
      "fileid": "19da4a861ece2e5d2d325a3785139aae47f9ef77764da4581806d76ab59733a2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jacolien/actions/runs/25424670089"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.5",
      "date": "2026-05-22T15:42:39.000Z",
      "commit": "e2d3d1d63abe0e0b56152279f46b9a3dbb8f9412",
      "fileid": "a5b320d29a1b5ecaa9f6027bc2d5977251175c89af4b1485daf6a79f0ccb95fd",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jacolien/actions/runs/25424670089"
    }
  ]
}