Displaying 1 result from an estimated 1 matches for "johnlogandurland".
2011 Oct 15
1
Turning Data Frame Columns into Vectors
Hi,
I converted an Excel file into a .txt file "X.txt" with no header (
http://r.789695.n4.nabble.com/file/n3908157/X.txt X.txt ) and imported it
with:
X <- read.table("/Users/johnlogandurland/Desktop/X.txt", header=FALSE).
What I would like to do is to make the first column into a factors vector,
and then analyze the rest of the columns in the data table using those
factors. The problem is, I haven't found a way to convert the rest of the
columns into vectors with length = nr...