Dear all, I had following calculations with R:
x = vector(length = 4) x[1] = 1 x[2] = 3 x[3] = 123456789123456 x[4] = -9876543219876 as.integer(x)
[1] 1 3 NA NA Warning message: NAs introduced by coercion What went wrong? Thanks and regards,
2 messages · Christofer Bogaso, Kehl Dániel
Dear all, I had following calculations with R:
x = vector(length = 4) x[1] = 1 x[2] = 3 x[3] = 123456789123456 x[4] = -9876543219876 as.integer(x)
[1] 1 3 NA NA Warning message: NAs introduced by coercion What went wrong? Thanks and regards,
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20111126/6445de58/attachment.pl>