Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

scode

Generate the significance codes as in summary.lm


Description

Generate the significance codes as in summary.lm

Usage

scode(p)

Arguments

p

Probability

Value

Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Note

lifted from stats::printCoefmat

Author(s)

Christian W. Hoffmann <christian@echoffmann.ch>

Examples

for (ii in c(0.005, 0.02,0.0501,0.2)) { print(scode(ii)) }

cwhmisc

Miscellaneous Functions for Math, Plotting, Printing, Statistics, Strings, and Tools

v6.6
GPL (>= 2)
Authors
Christian W. Hoffmann
Initial release
2018-08-24, 10:40:10

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.