Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

ashplot

Compute knot points of an average shifted histogram


Description

Mainly a utility for the lattice and ggplot2 plotting functions, ash_points() returns the points to be plotted.

Usage

ash_points(x, binwidth = NULL, adjust = 1)

Arguments

x

A numeric vector

binwidth

The width of the histogram bins. If NULL (the default) the binwidth will be chosen so that approximately 10 bins cover the data. adjust can be used to to increase or decrease binwidth.

adjust

A number used to scale binwidth.

Value

A data frame containing x and y coordinates of the resulting ASH plot.


mosaicCore

Common Utilities for Other MOSAIC-Family Packages

v0.9.0
GPL (>= 2)
Authors
Randall Pruim <rpruim@calvin.edu>, Daniel T. Kaplan <kaplan@macalester.edu>, Nicholas J. Horton <nhorton@amherst.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.