I am working on a dataset with longitudinal data and my goal is to check the normality of the variable value. Below I have put an example of the dataset I am working on. I would need a method in R to test the normality of value taking into account longitudinality. In this case of the fact that I have the measurement repeated several times for the same subject and that within each subject I have the measurement repeated several times within the same time of the year. Can you help me? Below is an example of my dataset.
Subject | Season | date | value | Treatment
1 autumn 01-09 232 Medicine
1 autumn 02-09 213 Medicine
1 autumn 05-09 228 Medicine
1 winter 06-12 343 Medicine
1 winter 09-01 377 Medicine
1 summer 27-06 301 Medicine
2 winter 16-12 333 Placebo
2 winter 25-01 384 Placebo
2 spring 12-06 301 Placebo