Skip to content
Prev 172861 / 398506 Next

c() coverts real numbers to integers?

> STY<-c(2.0387, 2.0214, 1.9877, 1.9846)
 > STX
[1] 16.0962 16.1227 16.0921 16.1498
 > STY
[1] 2.0387 2.0214 1.9877 1.9846

Did you perhaps redefine c()?

Or:
  options()$digits

If not, then what do these say:

str(STX)
str(STY)
On Mar 6, 2009, at 1:47 PM, John Poulsen wrote:
David Winsemius, MD
Heritage Laboratories
West Hartford, CT