Saturday, 15 June 2013

r - Can the decimal be increased for values come from summary? -



r - Can the decimal be increased for values come from summary? -

the mean of info have 0.2.i want have more decimals otherwise meaningless if want compare between 2 files. example

summary(f) min. 1st qu. median mean 3rd qu. max. na's 0.0 0.1 0.2 0.2 0.2 0.7 824982

so mean here can 0.29 or 0.21.any thought on how know this?

try

options(digits=10) summary(f)

from ?options

‘digits’: controls number of digits print when printing numeric values. suggestion only. valid values 1...22 default 7. see note in ‘print.default’ values greater 15.

note number of digits printed different number of digits stored internally.

r

No comments:

Post a Comment