我有一個數據幀看起來像這樣(使用reshape2 ::演員和合並): time days treatment extrafactor1 extrafactor2 extrafactor3 animal1 animal2 animal3
10 83 control B water 2 2 67 40
10 83 control B water 3 50 67 39
10 83 control
我對R相對比較陌生,每次我需要「重塑」數據時,我都感到非常困惑。我有一個看起來像這樣的數據: 擁有: ID ever_smoked alcoholic medication dosage
1 1 no no humira/adalimumab 40mg
2 1 no no prednisone 15mg
3 1 no no azathioprine 30mg
4 1
我有一個數據幀,看起來像這樣: lethal.y lethal.x resist.y resist.x mock.y mock.x
Min. :0.0000 Min. :0.0000 Min. :0.0000 Min. :0.0000 Min. :0.0000 Min. :0.0000
1st Qu.:0.3724 1st Qu.:0.4349 1st Qu.:0.658