search for: lwfb

Displaying 1 result from an estimated 1 matches for "lwfb".

Did you mean: lwf
2010 May 31
4
correcting a few data in a large data frame
...ushno bout1 bout2 bout3 bout4 bout5 bout6 bout7 bout8 144 145 1 1 0 1 1 1 1 1 I know that I can do this with fix(lwf) or edit(lwf). However, I would like to learn some more R. What code could I use to correct these data? I have been screwing around with such as lwfb[(lwf$bushno==145) & (lwf$bout3==0),0]<- lwf[(lwf$bushno==145) & (lwf$bout3==0),1] to no avail. Any help appreciated.Thanks, MN -- View this message in context: http://r.789695.n4.nabble.com/correcting-a-few-data-in-a-large-data-frame-tp2237834p2237834.html Sent from the R help mailin...