Learn R Programming

cwhmisc (version 6.0)

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

Examples

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

Run the code above in your browser using DataLab