График порционная барная карта в 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