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

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to