
geom_col() messing up the age variable
Hi! I'm new to R and I'm trying to plot mutation subtypes with the age variable for a melanoma dataset. The code runs perfectly fine but I don't understand why the the geom_col() function keeps plotting weird numbers for age? especially since I plotted this for a subset specifically. I tried using the geom_bar() function and it worked but I think it plotted the number of observations I had over the actual age as a variable.
Can anyone help with this? Thank you!