Helper function plots a profile from a dataframe
Usage
.profile_body(values, show_error, colors, labels)
Arguments
- values
Values data frame in long format
- show_error
Boolean whether tho show error.
- colors
Alternative colors to plot the lines
- labels
Labels order so label-i has colors-i.