Skip to content
Prev 273901 / 398498 Next

variable name question

On Oct 9, 2011, at 2:24 PM, Carlos Ortega wrote:

            
Possibly with a selection for the column names in question:

log.pci.df <- log( your_data_frame[ , grep("^pci",  
names(your_data_frame) ) ]

You can also cbind() your identifiers and covariates columns to the  
result.