标签: r seq
R代码和错误如下所示:
> x = seq(0,1,by=0.2) > stopifnot( x == c(0.0,0.2,0.4,0.6,0.8,1.0)) Error: x == c(0, 0.2, 0.4, 0.6, 0.8, 1) are not all TRUE
我是R的新学习,无法找出原因,有人可以帮助,谢谢!