sim_time | R Documentation |
This function simulates data for the time variable of longitudinal data.
sim_time(n, time_levels = NULL, ...)
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.