Learn R Programming

radiant.data (version 0.8.1)

sig_stars: Add stars '***' to a data.frame (from broom's `tidy` function) based on p.values

Description

Add stars '***' to a data.frame (from broom's `tidy` function) based on p.values

Usage

sig_stars(pval)

Arguments

pval

Vector of p-values

Value

A vector of stars

Details

Add stars to output from broom's `tidy` function

Examples

Run this code
# NOT RUN {
sig_stars(c(.0009, .049, .009, .4, .09))

# }

Run the code above in your browser using DataLab