R programming language.
The seafood data recorded the bacterial growth on oysters andmussels. The bacterial counts are measured in log scale at threedifferent times.
Convert the data to have one variable showing the bacterial countsand one variable showing the different time points.
Seafood | time0 | time1 | time2 |
Oysters | 1.83 | 3.68 | 5.23 |
Oysters | 1.11 | 3.25 | 4.98 |
Oysters | 2.01 | 3.98 | 5.02 |
Oysters | 7.19 | 7.42 | 9.32 |
Oysters | 6.89 | 7.34 | 8.92 |
Oysters | 7.01 | 8.11 | 9.99 |
Oysters | 6.47 | 9.44 | 9.78 |
Oysters | 5.98 | 8.77 | 9.88 |
Oysters | 5.45 | 8.12 | 9.35 |
Mussels | 0.36 | 1.70 | 4.57 |
Mussels | 0.76 | 1.65 | 4.52 |
Mussels | 0.56 | 1.55 | 4.23 |
Mussels | 5.01 | 6.38 | 7.95 |
Mussels | 5.00 | 6.87 | 7.99 |
Mussels | 5.03 | 6.42 | 8.01 |
Mussels | 5.05 | 9.78 | 11.04 |
Mussels | 5.89 | 9.99 | 11.35 |
Mussels | 5.97 | 9.86 | 11.22 |