r - 右对齐 gt 中的 rowname_col
问题描述
我想右对齐,rowname_col
但看起来你不能应用于cols_align
行名?
tibble(
one = c("Long names", "Other Name", "Name | Name"),
two = 1:3
) %>% gt(rowname_col = "one") %>%
cols_align(align = "right", columns = vars(one))
解决方案
推荐阅读
- python-3.x - 如果在第一组中找不到,如何遍历第二组数据?
- node.js - 在 React Native 中存储密钥的最安全方式是什么
- laravel - Vue:在它自己的 Github 仓库中有前端?
- javascript - 必须包含小数点的数字的正则表达式
- haskell - 保存超出控制结构的值
- android - 无法在 MAC OS 中的 Apache Cordova 中为 Android SDK 在 WebStorm 中设置 PATH
- python - Spotipy 音频功能返回类型错误
- r - R错误地计算了数据框中两个单元格的平均值
- sitecore - Sitecore 在此处添加按钮未显示“添加渲染”对话框
- rust - 如何从 Rust 的内存缓冲区执行原始指令?