powered by
This conversion is helpful mostly for repeated measures design.
long_to_wide_converter(data, x, y, paired = TRUE)
A dataframe (or a tibble) from which variables specified are to be taken. A matrix or tables will not be accepted.
The grouping variable from the dataframe data.
data
The response (a.k.a. outcome or dependent) variable from the dataframe data.
A logical that indicates whether the design was repeated measures (within-subjects) or between-subjects (default: TRUE).
TRUE
# NOT RUN { ggstatsplot:::long_to_wide_converter( data = iris_long, x = condition, y = value, paired = TRUE ) # }
Run the code above in your browser using DataLab