search for: testdfcols

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

2011 Sep 16
2
Referring to an object by a variable containing its name: 6 failures
...ing wrong? How do I use a variable containing an object's name to refer to the object itself? Although I'm hoping others will find the bald look caused by tearing my hair out to be attractive, I would appreciate any assistance you can offer in understanding this question. Warmly, andrewH testDFcols <- function(data.df, select=c(1:ncol(data.df)), bar=TRUE) { # A useful summary function if(bar) cat("##################################\n"); attach(data.df) for (column in select) { colName <-names(data.df)[column] cat("Column Name(", colName, &q...