I would like to plot a 4 dimensional graph in R. I have three coordinates of position and a fourth variable (time). In this plot I would like to show these 3 coordinates in function of time. I only have one observation for each coordinate in each time. Somebody know if this is possible in R? I only found solutions for 3D plots.
For example:
coord_1<-c(0.5,0.3,0.9)
coord_2<-c(0.2,0.1,0.6)
coord_3<-c(0.7,0.4,0.8)
time_seg<-c(0.1,0.5,1)
data_plot<-data.frame(coord_1,coord_2,coord_3, time_seg)
data_plot
coord_1 coord_2 coord_3 time_seg
1 0.5 0.2 0.7 0.1
2 0.3 0.1 0.4 0.5
3 0.9 0.6 0.8 1.0