search for: tp4457466p4457509

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

2012 Mar 08
1
Calling a column from a matrix using a variable
Hi there, I'm having some difficulty using a variable to call a column from a matrix. I am trying to analyze several columns against each other using a for loop in the following way: x<-data.frame(A=1:5,B=6:10,C=11:15,D=16:20,E=21:26) titles<-c("A","B","C","E") for( i in 1:length(titles)){ y<-titles[i]