flip | R Documentation |
Identifies reflections that minimize the distance of adjacent time-points on the same latent variable
flip(data, id = "name", vars, time, ...)
data |
A data frame or tibble produced with |
id |
Character string giving the name(s) of the ID variable(s) in the data. |
vars |
Variables to be evaluated for reflection. Generally,
these would be all of the |
time |
Character string giving the time variable in the data set. |
... |
Other arguments to be passed down, currently not implemented. |
A data frame with time and a flip indicator for each evaluated dimension. This can be merged with the original data and can be used to make the appropriate reflections of the latent variables.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.