sim_time function

Simulate Time

Simulate Time

This function simulates data for the time variable of longitudinal data.

sim_time(n, time_levels = NULL, ...)

Arguments

  • n: Sample size of the levels.
  • time_levels: The values the time variable should take. If NULL (default), the time values are discrete integers starting at 0 and going to n - 1.
  • ...: Currently not used.
  • Maintainer: Brandon LeBeau
  • License: MIT + file LICENSE
  • Last published: 2022-02-07