`button_output` is an internal function to `handcode`. It works within the Shiny-App `handcoder_app` to format the look of the shiny::radioButtons.
button_output(classification, button, names = FALSE)Depending on the logical names input, the function returns a list of HTML formatted labels or the list of category names for the display of the radioButtons in the Shiny-App.
Classification list obtained as list item from `data_for_app`
Numerical value indicating for which button names and labels should be returned
Logical value indicating whether the function is supposed to return a formatted list of labels or a vector of names for use in radioButtons.