prepare_data

prepare_data(
  DF,
  ID_var,
  group_var,
  area_var,
  x_var,
  width_plot = 100,
  height_group = 10,
  area_multiplier = 1
)

Arguments

DF

input dataframe

ID_var

ID variable

group_var

group variable

area_var

area variable

x_var

x axis variable

width_plot

reduce x for plotting by this ratio

height_group

height of y axis for each group

area_multiplier

multiply area size by this

Value

DF