Learn R Programming

tame (version 0.2.0)

construct_plot_data: Construct plot data for summary plot

Description

The construct_plot_data() function constructs the data for the summary plot.

Usage

construct_plot_data(
  object,
  time_scale,
  plot_individual,
  labels,
  alpha_individual = 0.1,
  label_y_value = 0,
  ...
)

Value

A data frame with the plot data.

Arguments

object

A medic or summary.medic object.

time_scale

A list with the time scale.

plot_individual

A logical value specifying if individual trajectories should be plotted.

labels

A logical value specifying if labels should be plotted.

alpha_individual

A numeric value specifying the transparency of the individual trajectories.

label_y_value

A number between 0 and 1 that defines the height of the label text hight.

...

Additional arguments passed to the function.