search for: b_row

Displaying 3 results from an estimated 3 matches for "b_row".

Did you mean: byrow
2009 Apr 02
4
Deleting rows based on identity variable
I have created this data frame to help illustrate my problem. id<-c(rep(1,5),rep(2,5),rep(3,5),rep(4,5),rep(5,5)) x<-rep((seq(1:5)),5) y<-c(0, 0.1, 0.5, 0.4, 0.2, 0, 0.1, 0.5, 0.4, 0.12, 0, 0.1, 0.5, 0.55, 0.2, 0, 0.1, 0.5, 0.3, 0.2, 0, 0.1, 0.6, 0.4, 0.1) d1<-cbind(id,x,y) I would like to delete all rows where id=4, however, when I tried the command  d2=d1[-c(id==4),] and looked
2009 Jun 25
4
Software lifecycle for R releases (aka practical limits of support for older versions)
Hello useRs: Does anyone have thoughts on the lifecycle of older releases of R? I know that currently the 2.8.x and 2.9.x releases seem to be actively "supported" on the mailing lists, but what about older releases, say 2.4.x? Curious to hear when people think older versions of R become obsolete and unsupportable on the lists (or other venues). Regards, Brian
2009 May 21
3
Behavior of seq with vector from
Hello, I want to use seq with multiple from values and am getting unexpected (to me) behavior. I'm wondering if this behavior is intentional or not. > seq(2, by=3, length.out=4) [1] 2 5 8 11 > seq(3, by=3, length.out=4) [1] 3 6 9 12 Now if I want the combined sequence, I thought I could pass in c(2,3), and I get: > seq(c(2,3), by=3, length.out=8) [1] 2 6 8 12 14 18 20 24