Thanks all. No I wasn't aware of the fact that summary is rounding in this
case.
Da.
--
View this message in context:
http://r.789695.n4.nabble.com/Precision-of-summary-when-summarizing-variables-in-a-data-frame-tp3428570p3429022.html
Sent from the R help mailing list archive at Nabble.com.
__
jim holtman wrote:
They are probably the same. It isjust that summary is printing out 4
significant digits. Try:
options(digits = 20)
FYI, the default summary method also has its own digits argument.
On Tue, Apr 5, 2011 at 12:38 PM, Daniel Malter wrote:
Hi,
I summary() a variable w
They are probably the same. It isjust that summary is printing out 4
significant digits. Try:
options(digits = 20)
On Tue, Apr 5, 2011 at 12:38 PM, Daniel Malter wrote:
> Hi,
>
> I summary() a variable with 409908 numeric observations. The variable is
> part of a data.frame. The problem is t
Hi,
I summary() a variable with 409908 numeric observations. The variable is
part of a data.frame. The problem is that the min and max returned by
summary() do not equal the ones returned by min() and max(). Does anybody
know why that is?
> min(data$vc)
[1] 15452
> max(data$vc)
[1] 316148
> sum
4 matches
Mail list logo