yPretty {EGRET}R Documentation

Sets up tick marks for an axis for a graph with an arithmetic scale which starts at zero

Description

Axis tick marks that run from zero to some specified maximum, creates about 4 to 8 ticks marks.

Usage

yPretty(yMax)

Arguments

yMax

A numeric value for the maximum value to be plotted, it must be >0

Value

yTicks A numeric vector representing the values for each of the tick marks

Examples

yTicks <- yPretty(7.8)
yTicks <- yPretty(125)

[Package EGRET version 3.0.9 Index]