Re: [R] Help sought with 1. converting factor to numeric; 2. creating new dataframe

2014-12-16 Thread Michael Dewey
Comments in line On 16/12/2014 11:25, Aditya Singh via R-help wrote: Dear R-experts, I am relatively new to R. Please help me in converting a dataframe into a numeric and then creating a new dataframe. R-code attached: my_xtrain=read.table("./train/X_train.txt") my_xtest=read.table("./test/X

[R] Help sought with 1. converting factor to numeric; 2. creating new dataframe

2014-12-16 Thread Aditya Singh via R-help
Dear R-experts, I am relatively new to R. Please help me in converting a dataframe into a numeric and then creating a new dataframe. R-code attached: my_xtrain=read.table("./train/X_train.txt") my_xtest=read.table("./test/X_test.txt") my_merge_data=merge(my_xtrain,my_xtest,all=TRUE) ### my