Changing a continuous scale from decimal to percents
问题 The scale for penetration is listed as a decimal (.5 and down), but I am having a problem changing it to a percent. I tried to format it in my data as a percentage using this code penetration_levels$Penetration<-sprintf("%.1f %%", 100*penetration_levels$Penetration) which worked from a format sense, but when I tried to graph the plot I got an error saying penetration was used as a discrete, not continuous scale. To fix that, used this code to format it as a numeric variable penetration_levels