Description Usage Arguments Value Author(s) See Also Examples
Represents important aspects of a variable/vector both visually (histogram, rug or strip, and density plots) and with descriptive statistics of varying detail
1 2 |
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() |
Prints descriptive statistics table and creates graphic as side effect. Returns list with Indices, Rownames, and Values if identify is not NULL
John J. Curtin jjcurtin@wisc.edu
hist(), rug(), varStripPlot(), density(), varDescribe(), describe(), identify()
1 2 3 4 5 6 |
##NOT RUN
##data(BAC)
##varPlot(BAC$FPS, 'FPS') #default use strip
##varPlot(BAC$FPS, AddPoints='RUG')
##varPlot(BAC$FPS, IDs=rownames(BAC))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.