g.rank <- ggplot(data = train, aes(Result, RankDiff)) +
geom_boxplot(fill = c("#FFF59D", "#EF9A9A", "#A5D6A7"))
print(g.rank)
g.diff <- ggplot(data = train, aes(Result, DiffDiff)) +
geom_boxplot(fill = c("#FFF59D", "#EF9A9A", "#A5D6A7"))
print(g.diff)
The first plot doesn't appear in the plot history in Rstudio when I source the R file that contains the above code.