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

posted by martin  – Austria, 2010-05-06 09:53 (5522 d 21:53 ago) – Posting: # 5308
Views: 24,746

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,424 posts in 4,927 threads, 1,675 registered users;
27 visitors (0 registered, 27 guests [including 7 identified bots]).
Forum time: 07:47 CEST (Europe/Vienna)

Philosophy, like medicine, has plenty of drugs, few good remedies,
and hardly any specific cures.    Sebastien-Roch Nicolas de Chamfort

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