Vjust and hjust attributes are used to set the position of text or labels wrt axis in ggplot.
See below for a better understanding.
> ggplot(mpg,aes(cyl))+geom_bar(stat = "count")+ggtitle("GGplot")
> ggplot(mpg,aes(cyl))+geom_bar(stat = "count")+ggtitle("GGplot")+theme(axis.title = element_text(hjust = 1))