Displaying 1 result from an estimated 1 matches for "sample_interv".
Did you mean:
sample_interval
2009 Nov 05
2
Using a by() function to process several regression (lm()) functions
...ns in a chamber and are used to measure into rates, usually (not
not always), four or five observations per chamber.
Data are from several sites and multiple dates. I'd like to run a regression
to calculate the rate of emissions, for each date and site.
The regression is using concentration ~ Sample_interval (which is in
seconds).
lm(Concentration ~ Sample_interval, data=df)
The data.frame looks something like this:
Date Time Site
Sample_interval Concentration
10/03/09 5:00 Site 1
0...