Hi,

The documentation for floor, ceiling and trunc is slightly ambiguous.

"floor takes ... and returns a numeric vector containing the largest
integers ..."

My initial thought was that floor() would return a vector of integers.
Instead, it returns a vector of doubles, i.e c(1L, 2L) vs c(1, 2)

 * Could the docs be changed
 * Would it be worth returning integers instead?

Thanks

Colin

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to