You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the function internally assumes that data is already sorted by identifier for repeated subjects design
# create data# deliberately change the order of participant iddf<-tibble::tribble(
~time, ~rating, ~id,
"before", 1, 1,
"before", 2, 2,
"before", 3, 3,
"before", 4, 5,
"before", 5, 4,
"after", 5, 1,
"after", 4, 2,
"after", 3, 3,
"after", 2, 4,
"after", 1, 5
)
# data for id 4 from before is linked to data for id 5 in after
library(ggstatsplot)
ggwithinstats(df, time, rating)
Currently, the function internally assumes that data is already sorted by identifier for repeated subjects design
Created on 2020-06-16 by the reprex package (v0.3.0)
The text was updated successfully, but these errors were encountered: