【问题标题】:How to transpose only one row of a dataframe in R如何在 R 中仅转置数据框的一行 【发布时间】:2023-01-16 00:34:31 【问题描述】: enter image description here 我希望准确度行位于列部分 【问题讨论】: 标签: r dataframe 【解决方案1】: 请尝试 library(tidyverse) df$accuracy <- df[X=='accuracy'] 【讨论】: