ggfluct: Fluctuation plot

View source: R/ggfluct.R

ggfluctR Documentation

Fluctuation plot

Description

This function generates a fluctuation plot in ggplot-style.

Usage

ggfluct(
  table,
  type = "size",
  boxFill = "grey90",
  floor = 0,
  ceiling = max(table$freq, na.rm = TRUE),
  xlab = "",
  ylab = ""
)

Arguments

type

Represents the type of boxes within the plot.

boxFill

String that represents the colour of boxes within the plot.

floor

Controls the min-size of the boxes within the plot.

ceiling

Controls the max-size of the boxes within the plot.

xlab

Character string representing the label of the x-axis.

ylab

Character string representing the label of the y-axis.

tbl

A 2-dim table (cross-table).

Author(s)

Dennis Freuer


freuerde/puzzle documentation built on March 27, 2022, 5:30 p.m.