📜  行数据帧的中位数 - R 编程语言代码示例

📅  最后修改于: 2022-03-11 14:52:00.798000             🧑  作者: Mango

代码示例2
# Row wise median, 1: row, 2: column

df1$row_median = apply(df1[,-1], 1, median)