error in creating arrays of zeros using rep

后端 未结 0 698
离开以前
离开以前 2020-11-27 08:16

I am not able understand this small error. Can you please explain why is the length of x not 1000. Thanks

N = 5000
p = 0.8
 
n1 = (1-p)*N 
# n1 = 1000
 
# cre         


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