search for: namey

Displaying 3 results from an estimated 3 matches for "namey".

Did you mean: name
2010 Jan 18
2
An argument processing puzzle.
I have been trying to write a function mv(a,b) to move an object a to object b. It returns no value, but only exists for this side effect. Basically it just does b <- a; rm(a). With some checking and prompting about over-writing. The thing is, I'd like to be able to use either call by name or call by value syntax. I.e. I want to set up my argument processing so that mv(a,b)
2005 Jul 07
1
Tables: Invitation to make a collective package
...k, by, breaks=c('Sturges', 'Scott', 'FD'), right=FALSE) { stopifnot(is.data.frame(df)) tmpList <- list() nameF <- character() nameY <- character() # User didn't defines a factor if (missing(by)) { logCol <- sapply(df, is.numeric) for (i in 1:ncol(df)) { if (logCol[i]) { x <- as.matrix(df[ ,i]) tbl <- tb.make.table.II(x, k, breaks, right) tmpList &lt...
2001 Jul 18
2
string manipulation in R?
...d then generate the cross product of that list with itself (which I can use "outer" for right?) then I need to generate queries based on those pairs of strings. Only problem is that I have the strings but how can I generate the query string I need? That is: nameX<-"YWL04A" nameY<-"YWL321" in python or perl I'd write something like: sql.select(column="*", from="gasch", where="NAME IS LIKE " + nameX " OR NAME IS LIKE " + nameY) (P.S. I am not sure but I don't think that the search option is working on the mailin...