This function assigns stars (associated with different significance levels) to p-values.
starsVector(p_value)
Arguments
p_value: vector of values between 0 and 1 representing p-values.
Returns
The function returns a string vector of stars assigned according to the rules described in 'Details' section.
Details
Three stars are assigned to p-values not greater than 0.01. Two stars are assigned to p-values greater than 0.01 and not greater than 0.05. One star is assigned to p-values greater than 0.05 and not greater than 0.1.