[R] cut - strange NA as output

Hermann Norpois hnorpois at gmail.com
Tue Oct 6 21:20:13 CEST 2015


Hello,

why do I get NA for the following:

cut (x, seq (0, max(x), by=1), label=FALSE)
 [1] 1322 1175 1155 1149 1295 1173 1289 1197   NA 1129

dput (x)
c(1321.55376901374, 1174.35657200935, 1154.02042504008, 1148.60981925942,
1294.6166388941, 1172.45806806869, 1288.31933914639, 1196.26080041462,
1355.88836502166, 1128.09901883228)

Thanks
Hermann

	[[alternative HTML version deleted]]



More information about the R-help mailing list