How to change the transparency of the plot in R?

r
ggplot2

#1

I am currently studying about ggplot2 package in R for practicing I have plot one scatter plot between two variable .

ggplot(aes(x=age,y=friend_count),data=pf)+geom_point()

I want to know if I have to change the transparency of the above plot.How this can be achieved in R


#2

Read about the alpha parameter in ggplot help page.
Eg:
ggplot(aes(x=age,y=friend_count),data=pf)+geom_point(alpha = 0.1)