Off topic:trying to put values of two dimensionless files side by side
1
0
Entering edit mode
8.5 years ago

I have two text files for which the command dim(file.txt) returns NULL. One of the files contains lines of X coordinates (x1.1, x1.2, x1.3) followed by a second line of coordinates for a separate entities (x2.1, x2.2, x2.3) the other contains corresponding Y coordinates and I'm trying to transform the files into separate the files to create a new file for each line such that the X and Y coordinates will line up side by side like so:

X1 Y1             AND      X2 from line 2, Y2 from line 2
x1.1 y1.1                      x2.1                 y2.1
x1.2 y1.2                      x2.2                 y2.2

etc.

Any tips?

R Assembly • 1.1k views
ADD COMMENT
This thread is not open. No new answers may be added
Traffic: 2719 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6