plied Mathematics"
To: R help
Cc:
Sent: Monday, December 10, 2012 10:29 AM
Subject: [R] Sweep out control
Dear all,
Assume that I have the following data structure:
d <- expand.grid(subj=1:5, time=1:3, treatment=LETTERS[1:3])
d$value <- 10 ^ (as.numeric(d$treatment) + 1) + 10 * d$subj +
Dear all,
Assume that I have the following data structure:
d <- expand.grid(subj=1:5, time=1:3, treatment=LETTERS[1:3])
d$value <- 10 ^ (as.numeric(d$treatment) + 1) + 10 * d$subj + d$time
d$value2 <- 10 + d$value
where d$treatment == "C" stands for my control group. What I want to achieve
2 matches
Mail list logo