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

posted by martin  – Austria, 2010-05-06 09:53 (5886 d 02:30 ago) – Posting: # 5308
Views: 29,805

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,654 posts in 4,992 threads, 1,570 registered users;
168 visitors (0 registered, 168 guests [including 13 identified bots]).
Forum time: 12:24 CEST (Europe/Vienna)

Scientists often have a naïve faith that
if only they could discover enough facts about a problem,
these facts would somehow arrange themselves
in a compelling and true solution.    Theodosius Dobzhansky

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