stat_stars: Add stars to a vector of coefficients based on the p-value.

Description Usage Arguments Value

View source: R/stat_stars.R

Description

Add stars to a vector of coefficients based on the p-value.

Usage

1
2
stat_stars(coeff = NULL, pval = NULL, thresholds = c(0.01, 0.05,
  0.1), digits = 3)

Arguments

coeff

Numeric vector. Coefficients.

pval

Numeric vector. Corresponding p-values.

thresholds

Numeric vector. three values indicating the cit-off p-values.

digits

Integer. Number of digits for rounding.

Value

Character vector with coefficients formatted for publication.


NicolasJBM/writer documentation built on Aug. 12, 2019, 2:36 p.m.