flashy.plot: A flashy scatter plot

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/flashy.plot.R

Description

This function tries to make a nicer plot than the one given by the plot() function for two quantitative variables

Usage

1
flashy.plot(x,y,my.factor, family = "Courier",xlab="",ylab="")

Arguments

x

numeric vector

y

numeric vector

my.factor

factor

family

font family for the title. Default is "Courier". Another choice can be, e.g., "HersheyScript"

xlab

character. x label

ylab

character. y label

Value

A flashy scatter plot

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

See Also

plot

Examples

1
2
3
4
5
6
data(NUTRIELDERLY)
attach(NUTRIELDERLY)
gender <- as.factor(gender)
levels(gender) <- c("Male","Female")
flashy.plot(weight,height,gender,xlab="Height",ylab="Weight")
detach(NUTRIELDERLY)

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 flashy.plot in TRSbook...