I'm sorry if this sounds dumb or isn't clear. I am fairly new to R but trying to take on a big task. I want to simulate wind dispersal over various time frames using the same calculations for different timed data. I have a lot of calculations which need to be done for each 1 hour time slot of a year and I want to write a code to allow me to just write the maths and define the data to come from row 1, then automatically run the same calculations with the data in row 2 without overwriting the outcomes.
I'll need a table of sorts to show me the output of each run. I've been looking in my books, checking the R packages and I'm just getting a bit lost. I just want to make something which will do something similar to density = mass / volume (row 1), (row 2), row (3) etc...
Not looking for exact codes, just more a push in the right direction. At the moment I'm consider manually doing it, which is possible but I have to do 1 hourly time steps for a whole year, it's a lot.
Thanks in advance.
So my data is: weather data (over 8000 lines) And the type of calculations I want to do are: physics calculations