
Last chance! 50% off unlimited learning
Sale ends in
Formats a ggplot object for neat plotting.
LinePlotTheme()EmptyTheme()
Object of class ggplot
LinePlotTheme()
creates ggplot
object with a white background, a relatively large font, and grid lines. EmptyTheme()
on the other hand creates a ggplot
object with no axes or legends.
if (FALSE) {
X <- data.frame(x=runif(100),y = runif(100), z = runif(100))
LinePlotTheme() + geom_point(data=X,aes(x,y,colour=z))
EmptyTheme() + geom_point(data=X,aes(x,y,colour=z))}
Run the code above in your browser using DataLab