Displaying 3 results from an estimated 3 matches for "1234569".
Did you mean:
123456
2017 May 28
3
Rounding in print.summaryDefault()
...y on my GNU/Linux machine
and on my colleague's MS-Windows machine. Here is a small (simplified)
reproducible example:
R> a <- 1234568.01 + c(0:1)
R> summary(a)
Output on MS-Windows (expected rounding of the mean value):
Min. 1st Qu. Median Mean 3rd Qu. Max.
1234568 1234568 1234569 1234569 1234569 1234569
Output on GNU/Linux (unexpected rounding of the mean value):
Min. 1st Qu. Median Mean 3rd Qu. Max.
1234568 1234568 1234568 1234568 1234569 1234569
The following code gives the same output on MS-Windows and on GNU/Linux:
R> print(summary(a), digits=9)
Min....
2017 May 28
1
Rounding in print.summaryDefault()
...-Windows machine. Here is a small (simplified)
> | reproducible example:
> |
> | R> a <- 1234568.01 + c(0:1)
> | R> summary(a)
> |
> | Output on MS-Windows (expected rounding of the mean value):
> | Min. 1st Qu. Median Mean 3rd Qu. Max.
> | 1234568 1234568 1234569 1234569 1234569 1234569
> |
> | Output on GNU/Linux (unexpected rounding of the mean value):
> | Min. 1st Qu. Median Mean 3rd Qu. Max.
> | 1234568 1234568 1234568 1234568 1234569 1234569
>
> Not here:
>
> R> a <- 1234568.01 + c(0:1)
> R> a
> [1] 1234...
2017 May 28
0
Rounding in print.summaryDefault()
...machine
| and on my colleague's MS-Windows machine. Here is a small (simplified)
| reproducible example:
|
| R> a <- 1234568.01 + c(0:1)
| R> summary(a)
|
| Output on MS-Windows (expected rounding of the mean value):
| Min. 1st Qu. Median Mean 3rd Qu. Max.
| 1234568 1234568 1234569 1234569 1234569 1234569
|
| Output on GNU/Linux (unexpected rounding of the mean value):
| Min. 1st Qu. Median Mean 3rd Qu. Max.
| 1234568 1234568 1234568 1234568 1234569 1234569
Not here:
R> a <- 1234568.01 + c(0:1)
R> a
[1] 1234568 1234569
R> summary(a)
Min. 1st Qu. M...