While-loop in r: In while ((p + colSums(Z) - rowSums(Z)) > 10) { : the condition has length > 1 and only the first element will be used

前端 未结 0 371
清歌不尽
清歌不尽 2020-12-09 16:33

I have a vector p and a matrix Z, here is a reproducible example:

p <- c(Afghanistan = 2769, Albania = 93893300, Algeria = 0, Argentina=4550430, Australia=         


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