This is a test

======= %\VignetteEncoding{UTF-8}


knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

Attach Packages

library(trajpkg)
library(lcmm)

Load Data

We will be using data from the lcmm package for this vignette

data <- lcmm::data_hlme
head(data)

Create Quadratic Time Variable

data$Time2 <- data$Time * data$Time


wfmueller29/trajpkg documentation built on Feb. 6, 2022, 3:45 a.m.