Displaying 1 result from an estimated 1 matches for "400mg".
Did you mean:
400mb
2012 Oct 22
0
Lattice to ggplot2: Reference graphics across facets
...nel.rect(x1, y1, x2, y2)
panel.text(mean(c(x1, x2)), mean(c(y1, y2)), txt, ...)
}
q25 <- function(.x) quantile(.x, 0.25)
q75 <- function(.x) quantile(.x, 0.75)
# Create a dummy dataset
ecg <- expand.grid(
trt = Factor(c('Placebo', '100mg', '200mg', '400mg')),
subject = 1:50,
time = Factor(c('Screening', 'Pre-dose', 'Day 1', 'Day 2', 'Day 3',
'Day 4', 'Day 5', 'Day 7', 'Day 14', 'Day 21'))
)
ecg <- ddply(ecg, .(subject, trt), mutate,
int = rno...