I am facing a problem with my data and would like to have some help here.
From this following table
Diam Conc Label
1 187.5 5198444 CP1
2 202.5 17674710 CP1
3 217.5 59262263 CP1
4 232.5 129961103 CP1
5 247.5 108127637 CP1
6 262.5 99810127 CP2
7 277.5 68619462 CP2
8 292.5 45746308 CP2
9 307.5 31190665 CP2
10 322.5 24952532 CP3
11 337.5 16635021 CP3
12 352.5 12476266 CP3
13 367.5 16635021 CP4
14 382.5 13515955 CP4
15 397.5 14555643 CP4
16 412.5 11436577 CP4
I am trying to crate a table as shown below:
length (Diam) = 15000; (from 0.1 to 1500, by 0.1)
Diam CP1 CP2 CP3 CP4
1 0.0 ... ... ... ...
2 0.1 ... ... ... ...
3 0.2 ... ... ... ...
4 0.3 ... ... ... ...
5 0.4 ... ... ... ...
3 0.2 ... ... ... ...
4 0.3 ... ... ... ...
5 0.4 ... ... ... ...
What I am aiming to do is : for each value of Conc
in table 1, put this value in table 2 in the corresponding Label column and the corresponding Diam
value.