curve | R Documentation |
curve()
assigns a unique number to each PK curve in a data set.
curve(data)
data |
A data frame or data frame extension with ID, TIME, and EVID columns. |
A PK curve is defined as any sequence of consecutive 0s in the EVID column of length greater than or equal to 1, corresponding to the same ID.
curve()
is primarily used by pk_plot()
in order to draw separate lines
for distinct PK curves belonging to the same individual.
A tibble::tibble()
with an appended column, CURVE, containing a unique number
for each group of consecutive observations which are not separated by a non-observation
data record.
Sandy Floren
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.