get_signif_code: Create a code indicating the significance of values given by p_val.
Description
get_signif_code is a helper function for model_gam and
model_gamm to create an easy-to-read output for the significance
of the smoothing term in the GAM(M)s (shown in the signif_code
column of the output tibbles).
Usage
get_signif_code(p_val)
Arguments
p_val
A vector with the p-values of the smoothing term.
Value
The function returns a character vector of the same length then the
input vector, with one symbol for each p-value.