first time poster. Thanks for your help.
I surveyed high school students, grouped by sex, using a Likert survey pre- and post-test. I have my data organized pre- and post-test, but right now it's:
sex `1Pre` `1Post` `2Pre` `2Post` `3Pre` `3Post` `4Pre` `4Post` `5Pre` `5Post` `6Pre`
<dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>
1 0 3 3 2 1 3 2 1 2 4 3 4
2 0 3 2 2 2 2 2 1 1 2 3 2
3 0 2 3 1 3 3 3 2 1 3 3 3
4 0 3 3 2 2 2 2 1 1 3 3 3
5 0 2 2 1 2 1 3 1 1 2 3 3
...etc., up to 12 Pre- and Post-, where I'd rather gather my columns of 1Pre and 1Post into one single variable for each respondent. Like:
Student sex Q1
1 0 3
1 0 3
2 0 3
2 0 2
Am I thinking about this the wrong way? Do I make my data go from "wide" to "long"? New to R - thank you so much!