varPlot: Creates histogram, optional rug/strip and density plots, and...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/varPlot.R

Description

Represents important aspects of a variable/vector both visually (histogram, rug or strip, and density plots) and with descriptive statistics of varying detail

Usage

1
2
varPlot(TheVar,  VarName = '', IDs = NULL, AddPoints = 'Strip', 
        AddDensity = TRUE, Detail = 2)

Arguments

TheVar

A variable/vector to visualize

VarName

The variable name of TheVar as string. Default = ”

IDs

Rownames for interactive identification of data points, Default is NULL with no identification done

AddPoints

Strip (default), Rug, or None

AddDensity

TRUE (default) or FALSE to include density plot

Detail

1-3 of increasing detail for descriptives using varDescribe()

Value

Prints descriptive statistics table and creates graphic as side effect. Returns list with Indices, Rownames, and Values if identify is not NULL

Author(s)

John J. Curtin [email protected]

See Also

hist(), rug(), varStripPlot(), density(), varDescribe(), describe(), identify()

Examples

1
2
3
4
5
  
##NOT RUN
##varPlot(Prestige$income, 'Income') #default use strip
##varPlot(Prestige$income, AddPoints='RUG')
##varPlot(Prestige$income, IDs=rownames(Prestige))

lmSupport documentation built on Sept. 1, 2017, 1:03 a.m.

Related to varPlot in lmSupport...