Displaying 1 result from an estimated 1 matches for "bout4".
Did you mean:
bout
2010 May 31
4
correcting a few data in a large data frame
...bouts. Dead bushes are recorded as zeros, and live
bushes as "1."
str(lwf)
'data.frame': 638 obs. of 9 variables:
$ bushno: int 1 2 3 4 5 6 7 8 9 10 ...
$ bout1 : int 0 1 0 1 1 1 0 1 0 1 ...
$ bout2 : int 0 1 0 0 0 0 0 0 0 1 ...
$ bout3 : int 0 1 0 0 0 0 0 0 0 1 ...
$ bout4 : int 0 1 0 0 0 0 0 0 0 0 ...
$ bout5 : int 0 1 0 0 0 0 0 0 0 0 ...
$ bout6 : int 0 1 0 0 0 0 0 0 0 0 ...
$ bout7 : int 0 1 0 0 0 0 0 0 0 0 ...
$ bout8 : int 0 1 0 0 0 0 0 0 0 0 ...
head(lwf)
bushno bout1 bout2 bout3 bout4 bout5 bout6 bout7 bout8
1 1 0 0 0 0 0...