Learn R Programming

TRSbook (version 1.0.2)

arrowaxis: Adding arrows on statistical plots.

Description

This function add an arrow on the extremities of the axes of a plot

Usage

arrowaxis(x = TRUE, y = TRUE)

Arguments

x

Logical. Default value TRUE indicates an arrow on the x-axis

y

Logical. Default value TRUE indicates an arrow on the y-axis

References

Chapter 11 (Descriptive Statistics) from the book: The R Software, Fundamentals of Programming and Statistical Analysis

Examples

Run this code
# NOT RUN {
curve(cos(x),xlim=c(-10,10))
arrowaxis()
# }

Run the code above in your browser using DataLab