format.pval dimaksudkan untuk memformat nilai-p.
format.pval(pv, digits = max(1, getOption("digits") - 2),
eps = .Machine$double.eps, na.form = "NA", ...)
| Parameter | Deskripsi |
|---|---|
pv |
a numeric vector. |
digits |
how many significant digits are to be used. |
eps |
a numerical tolerance: see ‘Details’. |
na.form |
character representation of NAs. |
… |
further arguments to be passed to format such as nsmall. |
# NOT RUN {
format.pval(c(stats::runif(5), pi^-100, NA))
format.pval(c(0.1, 0.0001, 1e-27))
# }