search for: themea

Displaying 1 result from an estimated 1 matches for "themea".

Did you mean: theme
2000 Jul 28
4
Language element manipulation
I am very confused about this. I want to convert a string to a name so I can use it to extract an element of a data frame using `$'. Here is my (non-working) code: do.graph <- function (meas) { fn <- paste("a", meas, ".dat", sep='') themeas <- read.table(fn, header=F) ameas <- as.name(paste("a", meas, sep='')) names(themeas) <- c("xpos", paste("a", meas, sep='')) meassum <- summary(themeas$ameas[themeas$xpos==1]) ... } So, when this function is called with th...