rounding and presentation of data in R [🇷 for BE/BA]

posted by martin  – Austria, 2010-05-06 09:53 (5878 d 17:27 ago) – Posting: # 5308
Views: 29,778

dear all!

you may find the following option of interest which is frequently used in R (e.g. default of print.lm and print.glm)

digits = max(3, getOption("digits") - 3)
format(x, digits=digits)
signif(x, digits=digits)


best regards

martin

Complete thread:

UA Flag
Activity
 Admin contact
23,653 posts in 4,991 threads, 1,570 registered users;
106 visitors (0 registered, 106 guests [including 17 identified bots]).
Forum time: 03:20 CEST (Europe/Vienna)

In theory, there is no difference between theory and practice.
But, in practice, there is.    Jan L.A. van de Snepscheut

The Bioequivalence and Bioavailability Forum is hosted by
BEBAC Ing. Helmut Schütz
HTML5