How to sum some elements in R lapply

前端 未结 0 495
别那么骄傲
别那么骄傲 2020-11-22 07:59

So, for example, I have a list x <- 1:10, and I need to make a list of x[t]/x[t+n]-1
How can I make it with lapply? I don\'t want to use for a cycle, I want to make

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