Column // axis-label specification

col_label(x)

Arguments

x

string encoding data column and axis title

Examples

col_label("CL // Clearance (L)")
#> [1] "CL"            "Clearance (L)"
col_label("CL//Clearance (L)")
#> [1] "CL"            "Clearance (L)"
col_label("CL $$ Clearance (L)")
#> [1] "CL"            "Clearance (L)"
col_label("CL !! Clearance (L)")
#> [1] "CL"            "Clearance (L)"
col_label("CL @@ Clearance (L)")
#> [1] "CL"            "Clearance (L)"

try(col_label("CL / Clearance (L)"))
#> Error : invalid 'column // label' specification:
#>   CL / Clearance (L)