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

Description Usage Arguments Value Author(s) See Also Examples

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 jjcurtin@wisc.edu

See Also

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

Examples

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


Search within the lmSupport package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.