plotfunctions: Various Functions to Facilitate Visualization of Data and Analysis
Version 1.2

When analyzing data, plots are a helpful tool for visualizing data and interpreting statistical models. This package provides a set of simple tools for building plots incrementally, starting with an empty plot region, and adding bars, data points, regression lines, error bars, gradient legends, density distributions in the margins, and even pictures. The package builds further on R graphics by simply combining functions and settings in order to reduce the amount of code to produce for the user. As a result, the package does not use formula input or special syntax, but can be used in combination with default R plot functions. Note: Most of the functions were part of the package 'itsadug', which is now split in two packages: 1. the package 'itsadug', which contains the core functions for visualizing and evaluating nonlinear regression models, and 2. the package 'plotfunctions', which contains more general plot functions.

Browse man pages Browse package API and functions Browse package files

AuthorJacolien van Rij [aut, cre]
Date of publication2017-04-24 12:21:13 UTC
MaintainerJacolien van Rij <vanrij.jacolien@gmail.com>
LicenseGPL (>= 2)
Version1.2
Package repositoryView on CRAN
InstallationInstall the latest version of this package by entering the following in R:
install.packages("plotfunctions")

Man pages

add_bars: Adding bars to an existing plot.
addInterval: Draw intervals or arrows on plots.
add_n_points: Add groups of points to a plot
alpha: Adjusting the transparency of colors.
alphaPalette: Manipulate the transparency in a palette.
check_normaldist: Compare distribution of data with normal distribution.
color_contour: Creates a contour plot with colored background.
dotplot_error: Utility function
drawDevArrows: Draw arrows between different plots.
emptyPlot: Utility function
errorBars: Add error bars to a plot.
fill_area: Utility function
findAbsMin: Return the value (or the element with the value) closest to...
find_n_neighbors: Return n neighbors around given indices.
getArrowPos: Converts coordinates in current plot region to device...
getCoords: Convert proportions into coordinates of the plot or figure...
getDec: Return the number of decimal places.
getFigCoords: Get the figure region as coordinates of the current plot...
getProps: Transform coordinates into proportions of the figure or plot...
getRange: Function for rounding and/or segmenting a range.
getRatioCoords: Move a vector n elements forward or backward.
gradientLegend: Add a gradient legend to a plot.
group_sort: Sort split by grouping predictor.
img: Image object.
inch2coords: Convert device position (inch) to coordinates in current plot...
isColor: Check whether color specifications exists.
legend_margin: Add legend with respect to figure instead of plot region....
list2str: Combine list values as string.
marginDensityPlot: Plot density of distribution in margins of the plot.
move_n_point: Move a vector n elements forward or backward.
plot_error: Utility function
plotfunctions: Package plotfunctions: Various Functions to Facilitate...
plot_image: Add images to plots.
plot_signifArea: Creates a colored surface plot from data frame input.
plotsurface: Creates a colored surface plot from data frame input.
se: Calculate standard error of the mean.

Functions

addInterval Man page Source code
add_bars Man page Source code
add_n_points Man page Source code
alpha Man page Source code
alphaPalette Man page Source code
check_normaldist Man page Source code
color_contour Man page Source code
dotplot_error Man page Source code
drawDevArrows Man page Source code
emptyPlot Man page Source code
errorBars Man page Source code
fill_area Man page Source code
findAbsMin Man page Source code
find_n_neighbors Man page Source code
getArrowPos Man page Source code
getCoords Man page Source code
getDec Man page Source code
getFigCoords Man page Source code
getProps Man page Source code
getRange Man page Source code
getRatioCoords Man page Source code
gradientLegend Man page Source code
group_sort Man page Source code
img Man page
inch2coords Man page Source code
isColor Man page Source code
legend_margin Man page Source code
list2str Man page Source code
marginDensityPlot Man page Source code
move_n_point Man page Source code
plot_error Man page Source code
plot_image Man page Source code
plot_signifArea Man page Source code
plotfunctions Man page
plotfunctions-package Man page
plotsurface Man page Source code
se Man page Source code

Files

inst
inst/NEWS
inst/extdata
inst/extdata/Netherlands_by_SilverSpoon.png
inst/doc
inst/doc/plotfunctions.html
inst/doc/plotfunctions.Rmd
inst/doc/plotfunctions.R
NAMESPACE
data
data/img.rda
R
R/plot.R
R/data.R
R/util.R
R/plotfunctions.R
vignettes
vignettes/plotfunctions.Rmd
MD5
build
build/vignette.rds
DESCRIPTION
man
man/dotplot_error.Rd
man/plotfunctions.Rd
man/move_n_point.Rd
man/plotsurface.Rd
man/gradientLegend.Rd
man/plot_error.Rd
man/find_n_neighbors.Rd
man/check_normaldist.Rd
man/group_sort.Rd
man/errorBars.Rd
man/color_contour.Rd
man/getRange.Rd
man/getDec.Rd
man/getRatioCoords.Rd
man/drawDevArrows.Rd
man/addInterval.Rd
man/fill_area.Rd
man/getFigCoords.Rd
man/add_n_points.Rd
man/se.Rd
man/alphaPalette.Rd
man/add_bars.Rd
man/plot_signifArea.Rd
man/legend_margin.Rd
man/marginDensityPlot.Rd
man/alpha.Rd
man/isColor.Rd
man/emptyPlot.Rd
man/findAbsMin.Rd
man/img.Rd
man/getArrowPos.Rd
man/plot_image.Rd
man/list2str.Rd
man/getCoords.Rd
man/getProps.Rd
man/inch2coords.Rd
plotfunctions documentation built on May 19, 2017, 7:38 a.m.