gráfica de la tabla de bar de porasportion en R
ggplot(data, aes(x = x, fill = y)) +
geom_bar(position = "fill")
Successful Salmon
ggplot(data, aes(x = x, fill = y)) +
geom_bar(position = "fill")
Here the full documentation :
https://www.rdocumentation.org/packages/graphics/versions/3.6.2/topics/barplot