I have a data frame like this:
and I wanted to create a loop that filters when for example period = 1 and plots a graph with all the values of x and y in which period = 1. How could I do this?
I have a data frame like this:
and I wanted to create a loop that filters when for example period = 1 and plots a graph with all the values of x and y in which period = 1. How could I do this?
We can subset
the data where 'Time' is 1, and plot
the 'x' and 'y' column
with(subset(df1, Time ==1), plot(XPoblacion_Update3, YPoblacion_Update3))