Displaying 1 result from an estimated 1 matches for "inrow".
Did you mean:
nrow
2008 Feb 23
3
using subset() in data frame
...nd around it. For practice, I'm using the code in MASS Ch. 6,
"whiteside data" to analyze a different data set with similar variables
and structure.
Here is my data frame:
###subset one of three cases for the variable 'position'
>data.b<-data.a[data.a$position=="inrow",]
> print(data.b)
position porosity x y
1 inrow macro 1.40 16.5
2 inrow macro . .
. . . .
. . . .
7 inrow micro
8 inrow micro
Now I want to do separate lm's for e...