Quantcast
Channel: Data Science, Analytics and Big Data discussions - Latest topics
Viewing all articles
Browse latest Browse all 4448

What does stat means in ggplot?

$
0
0

@harry wrote:

I am currently studying about visualisation in R using ggplot2 packages while studying it I came across a code in which plotting is done with the help of ggplot.

library(ggplot2)
intl = read.csv("intl.csv")
str(intl)
ggplot(intl, aes(x=Region, y=PercentOfIntl)) +
  geom_bar(stat="identity") +
  geom_text(aes(label=PercentOfIntl))

I want to know what does stat means in the code.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4448

Trending Articles