search for: tp15562325p15567499

Displaying 1 result from an estimated 1 matches for "tp15562325p15567499".

2008 Feb 19
3
Why does plot() ignore the data type for axis labels?
Hello, I was wondering why the plot() command ignores the datatype when displaying axis labels. More specifically, if the data points are integers then the axis labels should intuitively also be integers, right? > x <- as.integer(c(1,2,3)) > y <-x > typeof(x) [1] "integer" > plot(x,y) > The axis labels are 1.0, 1.5, 2.0, 2.5, 3.0 but if the integer type were