[R] Number of digits to display?
Duncan Murdoch
murdoch.duncan at gmail.com
Mon Oct 26 20:40:20 CET 2015
On 26/10/2015 12:43 PM, Judson wrote:
> How do I control the number of digits to display,
> say, in a matrix, without rounding or losing accuracy
> in subsequent calculations?
> round() of course reduces accuracy.
>
> Also, if all my results
> are really fractions, is there a way to display
> them as fractions of integers rather than
> decimal expressions?
See the fractions() function in the MASS package.
Duncan Murdoch
More information about the R-help
mailing list