以下是我的数据示例:
Dates User1 User2 User3
Jan-15 10 54 1
Feb-15 25 85 25
Mar-15 69 65 65
Apr-15 56 32 41
我不想在excel文件中手动进行任何更改。 如何编写R代码来计算1月,2月,3月和4月的相应均值。
答案 0 :(得分:2)
使用例如readxl包裹:
.item[id] {
/* any elements with a class .item and an ID attribute */
}