From karloh at mi.uib.no  Fri Sep 15 11:21:03 2006
From: karloh at mi.uib.no (Karl Ove Hufthammer)
Date: Fri, 15 Sep 2006 11:21:03 +0200
Subject: [Rd] digits in summary.default
References: <3c12769c0609140214u4534ade5p3a4cbc22beb51781@mail.gmail.com>
	<17674.23470.428546.240383@stat.math.ethz.ch>
Message-ID: <eedr9v$l9b$1@sea.gmane.org>

Martin Maechler skreiv:

> Since I've now seen the code of summary.default in S-plus 6.2,
> I'm not in a good position to propose a code change here ---
> unless Insightful ``donates'' their 3 lines of implementation to
> R??{which?I?think?would?be?quite?fair?given?the?recent?flurry?of
> things?they've?recently?ported?into?S-plus?8.x}

It's also possible to be a bit smarter in specific cases. See for example
the LaTeX table functions for regression summaries in the Dmisc package[1],
which uses the magnitude of the standard errors to dermine the number of
digits shown for estimates (s.t. the number of digits vary for each row/
estimate).

[1] Not on CRAN. See http://www.menne-biomed.de/download/download.html

-- 
Karl Ove Hufthammer
E-mail and Jabber: karl at huftis.org




[Rd] digits in summary.default
Karl Ove Hufthammer