Package 'IVYplot'

Title: Produces an IVY Plot (Similar to Dot Plot) with/without Frequencies
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.
Authors: Tri Ha Minh Nguyen Jyotirmoy Sarkar Mamunur Rashid
Maintainer: Tri Ha Minh Nguyen <[email protected]>
License: GPL-3
Version: 0.1.0
Built: 2025-03-05 03:16:33 UTC
Source: https://github.com/tringuyen2023/ivyplot

Help Index


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)