Displaying 1 result from an estimated 1 matches for "o2con".
Did you mean:
con
2010 Jul 18
2
simple loop(?) analysing subsets
...I run a simple loop that produces a regression for each species as
identified in the variable species id, which is one column in the large data
set that I am using?
Simple regression that I wish to repeat
data<- read.table("?/STUDY.txt",header=T)
names(data)
model<- with(data,{lm(o2con~bm)})
summary(model)
sample data set
species id o2con bm
1 0.5 5
1 0.6 2
1 0.4 4
1 0.4 2
1 0.5 3
2 0.3 7
2 0.4 8
2 0.5 3
2 0.7 4
2 0.9 2
3 0.3 6
3 0.7 2
3 0.4 1
3 0.3 7
5 0.3 2
5 0.6 1
5 0.9 7
5 0.2 5...