请注明:姓名-公司-职位
以便审核进群资格,未注明则拒绝
zhangyangsmith 发表于 2012-7-30 21:31 Change the last line of your code to:In R the priority of colon operator (:) is higher than plus (+) ...
chenyn68 发表于 2012-8-1 16:46 例如:i=1,i:i+3其实是(1:1)+3=3,所以上面的代码应该改为: for(i in 1:3){ sigma=sd(sample)}