Weighted average for different columns in R

后端 未结 0 1871
面向向阳花
面向向阳花 2021-01-24 22:19

I want to calculate the weighted average for different columns in a data frame This is my data:

x.4 <- c(2,3,4,5)
a.4 <- c(2,3,4,5)
x.8 <- c(3,24,2,2)
a.         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题