I'm working on a dataset that I want to plot.
# Here is the structure of my dataset:
ID var1 var2 t0 t1 ... t100 y_t0 y_t1 ... y_t100 A 10 blue 0 1 100 1% 3% ... 20% B 9 green 0 1 100 2% 4% ... 19% C 8 pink 0 1 100 1% 6% ... 22%
Where ID, var1 and var2 are the variables I want to keep like that, and t0 to t100 are time (always the same) and y_t0 to y_t100 are the measures at that same time.
I want to ggplot (geom_point) Y_time function of time but as this isn't in row i need to reshape that dataset (I thought using gather but I don't really see how to do with this amount of variables).
Does anyone know how to handle such a problem?
Thanks in advance