标签: r dataframe categorical-data r-factor
我想知道如何将以下0转换为No中的R。 data$athlete
0
No
R
data$athlete
[1] "0" "0" "0" "0" "0" [6] "0" "0" "0" "0" "0" [11] "0" "0" "0" "0" "Yes"
谢谢!