I have a dataframe with one column of 0 and 1, labeled "capture". I would like to convert it to Y and N but keep it in the dataframe which I'm later using to print a kable. How could I successfully mix variable types like this?
ï..video capture point x y c.2..cm. speed..cm.s. speedB..cm.s.
1 23 0 1 4.972 1.138 NA NA NA
2 23 0 2 4.970 1.145 0.00728011 0.2184033 6.552099
3 23 0 3 4.989 1.154 0.02102380 0.6307139 18.921416
4 23 0 4 4.973 1.140 0.02126029 0.6378087 19.134262
5 23 0 5 4.993 1.145 0.02061553 0.6184658 18.553975
6 23 0 6 5.000 1.129 0.01746425 0.5239275 15.717824
Here is the code for my kable as well, if that is helpful.
reduced.rounded.summary %>%
kable(caption = "Multiple Copepod Interactions", font_size = 12) %>%
kable_styling(full_width = F, position = "float_right") %>%
add_header_above(c(" " = 2, "Mouth" = 3))