# plotfunctions: Various Functions to Facilitate Visualization of Data and Analysis

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.

- Author
- Jacolien van Rij [aut, cre]
- Date of publication
- 2016-05-27 18:15:05
- Maintainer
- Jacolien van Rij <vanrij.jacolien@gmail.com>
- License
- GPL (>= 2)
- Version
- 1.0

## Man pages

- add_bars
- Adding bars to an existing plot.
- addInterval
- Draw intervals or arrows on plots.
- add_n_points
- Add rug to plot, based on model.
- 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
- drawArrows
- 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.
- 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.
- gradientLegend
- Add a gradient legend to a plot.
- group_sort
- Sort split by grouping predictor.
- 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.
- plotsurface
- Creates a colored surface plot from data frame input.
- se
- Calculate standard error of the mean.

## Files in this package

plotfunctions |

plotfunctions/NAMESPACE |

plotfunctions/R |

plotfunctions/R/plot.R |

plotfunctions/R/util.R |

plotfunctions/R/plotfunctions.R |

plotfunctions/MD5 |

plotfunctions/DESCRIPTION |

plotfunctions/man |

plotfunctions/man/dotplot_error.Rd |

plotfunctions/man/plotfunctions.Rd |

plotfunctions/man/move_n_point.Rd |

plotfunctions/man/plotsurface.Rd |

plotfunctions/man/gradientLegend.Rd |

plotfunctions/man/plot_error.Rd |

plotfunctions/man/find_n_neighbors.Rd |

plotfunctions/man/check_normaldist.Rd |

plotfunctions/man/group_sort.Rd |

plotfunctions/man/errorBars.Rd |

plotfunctions/man/color_contour.Rd |

plotfunctions/man/getRange.Rd |

plotfunctions/man/getDec.Rd |

plotfunctions/man/addInterval.Rd |

plotfunctions/man/fill_area.Rd |

plotfunctions/man/drawArrows.Rd |

plotfunctions/man/getFigCoords.Rd |

plotfunctions/man/add_n_points.Rd |

plotfunctions/man/se.Rd |

plotfunctions/man/alphaPalette.Rd |

plotfunctions/man/add_bars.Rd |

plotfunctions/man/legend_margin.Rd |

plotfunctions/man/marginDensityPlot.Rd |

plotfunctions/man/alpha.Rd |

plotfunctions/man/emptyPlot.Rd |

plotfunctions/man/findAbsMin.Rd |

plotfunctions/man/plot_image.Rd |

plotfunctions/man/list2str.Rd |

plotfunctions/man/getCoords.Rd |

plotfunctions/man/getProps.Rd |