Skip to contents

This function generates a longitudinal plot based on the provided data.

Usage

make_longitudinal_plot(dta, ylab, ytop)

Arguments

dta

A data.table containing the data to be plotted.

ylab

A character string specifying the label for the y-axis.

ytop

A numeric value indicating the upper limit of the y-axis.

Value

A ggplot object.