Re: [R] Ramanujan and the accuracy of floating point computations - using Rmpfr in R

2015-07-02 Thread Aditya Singh via R-help
Ravi 1. You may want to check the sqrt too. 2. Why not take log and try? Aditya -- On Thu 2 Jul, 2015 10:18 AM PDT Boris Steipe wrote: >Just a wild guess, but did you check exactly which operations are actually >done to high precision? Obviously you will need hi

Re: [R] : Ramanujan and the accuracy of floating point computations - using Rmpfr in R

2015-07-02 Thread Aditya Singh via R-help
Ravi I am a chemical engineer by training. Is there not something like law of corresponding states in numerical analysis? Aditya -- On Thu 2 Jul, 2015 7:28 AM PDT Ravi Varadhan wrote: >Hi, > >Ramanujan supposedly discovered that the number, 163, has this interest

[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