search for: 155555l

Displaying 4 results from an estimated 4 matches for "155555l".

Did you mean: 155555
2016 Aug 19
2
summary.default rounding on numeric seems inconsistent with other R behaviors
It is the old story of defined behaviour and expected outcomes. Hard to change now. So I would suggest you do something like this in your ~/.Rprofile: R> smry <- function(...) summary(..., digits=6) R> smry(155555L) Min. 1st Qu. Median Mean 3rd Qu. Max. 155555 155555 155555 155555 155555 155555 R> Maybe call it Summary() instead. Dirk -- http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org
2016 Aug 23
0
summary.default rounding on numeric seems inconsistent with other R behaviors
...: > It is the old story of defined behaviour and expected outcomes. Hard to > change now. yes... not impossible though... see below > So I would suggest you do something like this in your ~/.Rprofile: R> smry <- function(...) summary(..., digits=6) R> smry(155555L) > Min. 1st Qu. Median Mean 3rd Qu. Max. > 155555 155555 155555 155555 155555 155555 R> > Maybe call it Summary() instead. yes, do use a different name. There other such functions, 'summarize()'. Simone wrote > I had raised the matter ten ye...
2016 Aug 24
2
summary.default rounding on numeric seems inconsistent with other R behaviors
...the old story of defined behaviour and expected outcomes. Hard to >> change now. > yes... not impossible though... see below >> So I would suggest you do something like this in your ~/.Rprofile: R> smry <- function(...) summary(..., digits=6) R> smry(155555L) >> Min. 1st Qu. Median Mean 3rd Qu. Max. >> 155555 155555 155555 155555 155555 155555 R> >> Maybe call it Summary() instead. > yes, do use a different name. There other such functions, 'summarize()'. > Simone wrote &...
2016 Aug 19
3
summary.default rounding on numeric seems inconsistent with other R behaviors
I was wondering if it would make sense to change the default behavior of the following: summary(15555L) ## Min. 1st Qu. Median Mean 3rd Qu. Max. ## 15560 15560 15560 15560 15560 15560 summary.default on numeric values rounds values (not just presentation) to getOption("digits")-3L (or four) digits by default, making those values surprising and less suitable for