Learn R Programming

REDI (version 1.0.0)

plot_redi: Display the evolution of REDI over time and data points.

Description

Display the evolution of REDI over time and data points.

Usage

plot_redi(
  redi,
  plot_data = TRUE,
  x_axis = "Input",
  y_axis = "Output",
  alpha = 0.2,
  size = 1
)

Value

Graph of the evolution of REDI over time, possibly for different values of Lambda, along with the original data points.

Arguments

redi

A tibble or data frame containing 4 mandatory columns : Input, Output, REDI and Lambda. One can use the redi() function to get this tibble under the right format.

plot_data

A boolean, indicating whether original data should be displayed. Default is TRUE.

x_axis

A character string, label of the x-axis. Default is 'Input'.

y_axis

A character string, label of the y-axis. Default is 'Output'.

alpha

A number, between 0 and 1, controlling the transparency of data points. Default is 0.2.

size

A number, controlling the size of the data points. Default is 1.

Examples

Run this code
TRUE

Run the code above in your browser using DataLab