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