0
我有一個40列的數據框。我想將其導出爲Word文件,但40列不能放入doc.page。如何將許多列的數據框佈局爲合適的佈局R
我該如何製作一個10列布局的佈局?我試過拆分,但它不起作用。
數據
ID age height weight class graduate
1 42 167 54 1 yes
2 23 169 56 1 no
3 24 176 55 2 no
4 23 178 57 2 yes
5 25 158 56 3 yes
6 21 180 56 1 no
7 23 175 53 3 yes
8 23 166 49 3 no
9 22 167 60 2 no
new.data
ID age height
1 42 167
2 23 169
3 24 176
4 23 178
5 25 158
6 21 180
7 23 175
8 23 166
9 22 167
weight class graduate
54 1 yes
56 1 no
55 2 no
57 2 yes
56 3 yes
56 1 no
53 3 yes
49 3 no
60 2 no
感謝您的建議,但我發現我可以使用包R2wd做到這一點:) – PNY