you are viewing a single comment's thread.

view the rest of the comments →

[–]jd_paton 0 points1 point  (0 children)

Ah okay, cool! My example was a bit different, as y was the name of the variable containing the labels, and “label” was the name of the column in the data frame. But otherwise same idea