Displaying 1 result from an estimated 1 matches for "coordinate1".
Did you mean:
coordinates
2009 Jul 29
3
Newbie in R: Reading .txt files and storing the 'numbers' in a vector
Hello everybody,
I'm a newbie in R and just went through an introduction class recently.
Here's my problem.
I have 2 text files (.txt) with plain numbers ('doubles' for those who
know c++) ordered into 2 columns as below:
coordinate1 value1
coordinate2 value2
coordinate3 value3
... ...
coordinateN valueN
I would like to write a small programme in which i would:
1. take all values of file 1 and store them in a vector
2. substract to those all values of file 2 (one by one) and store the
result in a new vector
3. Create...