How to create a vector which is a subset from another one selecting some of its values at random but in order?

后端 未结 0 999
滥情空心
滥情空心 2021-02-04 05:30

I have a vector of numbers and I would like to select some of them at random but in order. How could I do it?

For example:

vector <- runif(10, min=0, ma         


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