Learn R Programming

div (version 0.3.1)

div_conf_colour: return a colour code given a number of stars for the confidence level of bias

Description

This function returns a colour (R named colour) based on the confidence level

Usage

div_conf_colour(x)

Arguments

x

the string associated to the paygap confidence: NA, '', ',', '*', '***', '***'

Value

string (named colour)

Examples

Run this code
# NOT RUN {
div_conf_colour("*")

# }

Run the code above in your browser using DataLab