pclid {plotcli}R Documentation

Short version of plotcli_density

Description

Short version of plotcli_density function.

Usage

pclid(
  x,
  plot_width = getOption("plotcli.plot_width", 80),
  plot_height = getOption("plotcli.plot_height", 40),
  x_label = "x",
  y_label = "Density",
  color = NULL,
  braille = getOption("plotcli.braille", TRUE),
  name = "density",
  ...
)

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: "Density")

color

Color of the plot elements (default: NULL)

braille

Use Braille characters for the plot (default: TRUE)

name

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

...

Additional arguments passed to the plotcli$new() function

Examples

x <- rnorm(100)
pclid(x)

[Package plotcli version 0.1.0 Index]