arrowaxis: Adding arrows on statistical plots.

Description Usage Arguments Author(s) References Examples

View source: R/arrowaxis.R

Description

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

Usage

1
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

Author(s)

Lafaye de Micheaux Pierre <lafaye@unsw.edu.au>, Remy Drouilhet <Remy.Drouilhet@upmf-grenoble.fr>, Liquet Benoit <b.liquet@uq.edu.au>

References

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

Examples

1
2
curve(cos(x),xlim=c(-10,10))
arrowaxis()

Example output

Loading required package: xtable
Loading required package: RColorBrewer
Loading required package: gdata
gdata: read.xls support for 'XLS' (Excel 97-2004) files ENABLED.

gdata: read.xls support for 'XLSX' (Excel 2007+) files ENABLED.

Attaching package: 'gdata'

The following object is masked from 'package:stats':

    nobs

The following object is masked from 'package:utils':

    object.size

The following object is masked from 'package:base':

    startsWith

Loading required package: IndependenceTests

TRSbook documentation built on May 2, 2019, 2:45 a.m.

Related to arrowaxis in TRSbook...