Type: | Package |
Title: | Produces an IVY Plot (Similar to Dot Plot) with/without Frequencies |
Version: | 0.1.0 |
Author: | Tri Ha Minh Nguyen Jyotirmoy Sarkar Mamunur Rashid |
Maintainer: | Tri Ha Minh Nguyen <tringuyen_2023@depauw.edu> |
Description: | For a single variable, the IVY Plot stacks tied values in the form of leaflets. Five leaflets join to form a leaf. Leaves are stacked vertically. At most twenty leaves are shown; For high frequency, each leaflet may represent more than one observation with multiplicity declared in the subtitle. |
License: | GPL-3 |
Encoding: | UTF-8 |
LazyData: | true |
RoxygenNote: | 7.1.1 |
Imports: | plyr |
NeedsCompilation: | no |
Packaged: | 2021-02-12 03:01:09 UTC; ngham |
Repository: | CRAN |
Date/Publication: | 2021-02-16 09:20:05 UTC |
IVY Plot
Description
The function will draw an IVY Plot (similar to Dot Plot) with/without frequencies
Usage
IVYplot(
data0,
showFreq = TRUE,
freqSize = 1,
multiple = NULL,
delta = 1,
limA = NULL,
limB = NULL
)
Arguments
data0 |
The data vector the user will input |
showFreq |
Option for the user to show the frequencies at each value or not. TRUE = show/FALSE = do not show. Default is TRUE |
freqSize |
The font size of the frequencies if the user wants to show the frequencies. Default is 1.0 |
multiple |
The maximum number of observations each leaflet represents. Default is calculated to ensure at most 20 leaves at each value |
delta |
The gap between successive values. Default is 1 |
limA |
The lower limit on the horizontal axis. Default is minimum of the values |
limB |
The upper limit on the horizontal axis. Default is maximum of the values |
Value
Gives you an IVY plot
Examples
IVYplot(data0 = c(rpois(500, 10), 30, 30, 30), freqSize = 1.5, multiple = 3)