Question: Ordering data in a table with a specific grouping variable

Question

Ordering data in a table with a specific grouping variable

Answers 0
Added at 2016-12-29 15:12
Tags
Question

I have data table as following:

Sample Component Concentration
T         A      62
P         B      10
PT        A      39
T         C      42
P         D      13
PT        D      21

I want to convert this table on a new table with this form:

Component/Sample T    P   PT  
A                62   0   39
B                0    10  0
C                42   0   0
D                0    13  21
Answers
Source Show
◀ Wstecz