Displaying 2 results from an estimated 2 matches for "meantemp".
Did you mean:
mean_temp
2011 Feb 22
2
Calculate a mean for several months for several years
Hello everyone,
I have a dataset with 3 colums (Year, Month, MeanTemp). Now I would like to
calculate the average of the mean temperature for the summer months (Juli,
August, September) for each of the 20 years.
I'm sure it's somehow possible with a loop, but all I tried so far didn't
worked and by the time I spent looking for a solution I would have eve...
2012 Jan 31
2
testing for temperature differences between years and sites?
...icantly different between the years. As I
collected the data for different sites I wondered if there were some
possibility to perform the calculation at once or if I have to repeat it for
each site.
I tried like this:
Model_Temp <- lmer(Temp ~Year + (1|Site)+(1|Month),na.action=na.omit, data=
MeanTemp)
But I am not sure at all if it is correct to put the sites as random factors
or if I have to do the calculation for each site separately. I am not
interested in correlation between sites, but only between years for each
different site.
Alternatively, can you indicate me some way to plot this?...