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

posted by martin  – Austria, 2010-05-06 09:53 (5478 d 18:04 ago) – Posting: # 5308
Views: 24,142

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,672 registered users;
90 visitors (0 registered, 90 guests [including 4 identified bots]).
Forum time: 03:58 CEST (Europe/Vienna)

It’s always fun to have your models validated,
but is way more fun to have them trashed.
Finding out you are completely wrong
is a great part of science.    G. Randall Gladstone

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