Displaying 2 results from an estimated 2 matches for "100mg".
Did you mean:
100mb
2012 Oct 22
0
Lattice to ggplot2: Reference graphics across facets
...x1, y1, x2, y2, txt, ...)
{
panel.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, .(subj...
2010 Mar 12
7
sqldf not joining all the fields
Dear R users,
I have two data frames that were read from text files as follows:
x_data <- read.table("x.txt", header = TRUE, sep = "|", quote = "\"'",
dec = ".",as.is = TRUE,na.strings = "NA",colClasses = NA,
nrows = 3864284,
skip = 0, check.names = TRUE,fill=TRUE,
strip.white = TRUE,