plotControl: Control Settings for 'lcc' Plots

View source: R/plotControl.R

plotControlR Documentation

Control Settings for lcc Plots

Description

This function customizes the graphical control settings for plots of the lcc class. It allows for the adjustment of various aspects such as shape, color, and size of plot elements, as well as axis labels. The function returns a list containing all these settings, which can be used in plotting functions for lcc objects.

Usage

plotControl(
  plot = TRUE,
  shape = 1,
  colour = "black",
  size = 0.5,
  xlab = "Time",
  ylab = "LCC"
)

Arguments

plot

Logical flag to include an initial plot. If set to TRUE, a ggplot object with an initial plot for lcc class is returned. Defaults to TRUE.

shape

Numeric value specifying the shape of points in the plot. Acceptable values are from 0 to 25, and 32 to 127. See aes for details on setting shape. Default is 1.

colour

String specifying the color of lines in the plot. Default color is "black".

size

Numeric value specifying the size of lines in the plot, given in millimeters. See aes for details on setting size. Default is 0.5.

xlab

Title for the x-axis, defaulting to "Time".

ylab

Title for the y-axis, defaulting to "LCC".

Value

A list with the specified graphical parameters.

Author(s)

Thiago de Paula Oliveira, thiago.paula.oliveira@alumni.usp.br


Prof-ThiagoOliveira/lcc documentation built on Dec. 9, 2023, 12:10 a.m.