search for: 200mg

Displaying 3 results from an estimated 3 matches for "200mg".

Did you mean: 200mb
2006 Apr 04
1
extending strsplit(): supply pattern to keep, not to split by
...ng to get a list of all the numbers in a string (done in a version of strsplit() I'm working on for S-PLUS): > strsplit("1.2, 34, 1.7e-2", split=number.pattern,keep=TRUE) [[1]]: [1] "1.2" "34" "1.7e-2" > strsplit("Ibuprofin 200mg", split=number.pattern,keep=TRUE) [[1]]: [1] "200" Is this a reasonable thing to want strsplit to do? Is this a reasonable parameterization of it? ---------------------------------------------------------------------------- Bill Dunlap Insightful Corporation bill at insightfu...
2012 Oct 22
0
Lattice to ggplot2: Reference graphics across facets
...xt, ...) { 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, .(subject, trt), mutate...
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,