Displaying 2 results from an estimated 2 matches for "subj4".
Did you mean:
subj
2007 May 17
2
How to select specific rows from a data frame based on values
...dataframe, values of _all_ of these variables should
range between -3 and +3.
Let's say I have the following dataframe (it's a toy example with 4
individuals and 5 variables):
subj1 <- cbind(-4, -3, -1, -5, -7)
subj2 <- cbind(-2, -1, -1, -2, +2)
subj3 <- cbind(+2, +1, +2, +1, +2)
subj4 <- cbind(-4, -1, -2, +2, +1, +1)
mydf <- as.data.frame(rbind(subj1, subj2, subj3, subj4))
>From mydf, I want to generate a new dataframe (let's call it mydf1)
which will have records of only subj2 and subj3 in it since only these
two individuals had all values for variables V1 throug...
2007 Apr 13
2
replicates in repeated ANOVA
...pre subj2 Treat
10 285 rep1 post subj2 Treat
11 253 rep2 post subj2 Treat
12 252 rep3 post subj2 Treat
13 266 rep1 pre subj3 Treat
14 252 rep2 pre subj3 Treat
15 287 rep3 pre subj3 Treat
16 266 rep1 post subj3 Treat
17 255 rep2 post subj3 Treat
18 269 rep3 post subj3 Treat
19 299 rep1 pre subj4 Control
20 310 rep2 pre subj4 Control
21 285 rep3 pre subj4 Control
22 296 rep1 post subj4 Control
23 310 rep2 post subj4 Control
24 301 rep3 post subj4 Control
25 288 rep1 pre subj5 Control
26 265 rep2 pre subj5 Control
27 273 rep3 pre subj5 Control
28 285 rep1 post subj5 Control
29 252...