How to change some values in table of matrix using conditions in R?

后端 未结 0 538
眼角桃花
眼角桃花 2020-12-05 10:18

I wrote this but it is not correct

  L=1.127
    for(i in 1:length(data)){
    if data[i]>forecast22[i]& (data [i]-forecast22[i])>=L/3
    forecast2         


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