search for: grmin

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

Did you mean: grin
2017 Dec 09
1
Remove
...group identifier, of the contraints and subscript it by group name: > DM <- read.table( text='GR x y + A 25 125 + A 23 135 + A 14 145 + A 35 230 + B 45 321 + B 47 512 + B 53 123 + B 55 451 + C 61 521 + C 68 235 + C 85 258 + C 80 654',header = TRUE, stringsAsFactors = FALSE) > > GRmin <- c(A=15, B=40, C=60) > GRmax <- c(A=30, B=50, C=75) > subset(DM, x>=GRmin[GR] & x <=GRmax[GR]) GR x y 1 A 25 125 2 A 23 135 5 B 45 321 6 B 47 512 9 C 61 521 10 C 68 235 Or, if you want to completely avoid non-standard evaluation: > DM[ DM$x >= GRmin[D...
2017 Dec 09
0
Remove
> On Dec 8, 2017, at 6:16 PM, David Winsemius <dwinsemius at comcast.net> wrote: > > >> On Dec 8, 2017, at 4:48 PM, Ashta <sewashm at gmail.com> wrote: >> >> Hi David, Ista and all, >> >> I have one related question Within one group I want to keep records >> conditionally. >> example within >> group A I want keep rows that
2017 Dec 09
2
Remove
> On Dec 8, 2017, at 4:48 PM, Ashta <sewashm at gmail.com> wrote: > > Hi David, Ista and all, > > I have one related question Within one group I want to keep records > conditionally. > example within > group A I want keep rows that have " x" values ranged between 15 and 30. > group B I want keep rows that have " x" values ranged