pclih {plotcli}R Documentation

Short version of plotcli_histogram

Description

Short version of plotcli_histogram function.

Usage

pclih(
  x,
  plot_width = getOption("plotcli.plot_width", 80),
  plot_height = getOption("plotcli.plot_height", 40),
  x_label = "x",
  y_label = "Frequency",
  color = NULL,
  braille = getOption("plotcli.braille", TRUE),
  bin_width = NULL,
  ylim = NULL,
  name = "histogram",
  ...
)

Arguments

x

A numeric vector of values

plot_width

Width of the plot (default: 80)

plot_height

Height of the plot (default: 40)

x_label

Label for the x-axis (default: "x")

y_label

Label for the y-axis (default: "Frequency")

color

Color of the plot elements (default: NULL)

braille

Use Braille characters for the plot (default: TRUE)

bin_width

Width of the bins (default: NULL)

ylim

y limits (default: NULL)

name

Name of the plot element (default: "histogram")

...

Additional arguments passed to the plotcli$new() function

Examples

x <- rnorm(100)
pclih(x)

[Package plotcli version 0.1.0 Index]