ACTL1101 Lecture Notes - Lecture 7: Box Plot, Line Graph, Scatter Plot
Document Summary
Why do we need visualisation: using numbers has limitations. Numbers are usually not enough and can even be misleading ! The anscombe"s quartet is an example of vastly different (paired) datasets which however exhibit the same traditional numerical summaries: the data is included in the dataframe. Why do we need visualisation: aims of visualisation: exploratory visualisations help us understand the data, analyse, confirm, explanatory visualisations help us share our understanding with others, inform, persuade. 10^4)) + scale_x_log10(expression("body weight (log"["10"]*"(kg))"), breaks = trans_breaks("log10", function(x) 10^x), labels = trans_format("log10", math_format(10^. x))) + scale_y_log10(expression("brain weight (log"["10"]*"(g))"), breaks = trans_breaks("log10", function(x) 10^x), labels = trans_format("log10", math_format(10^. x))) + stat_smooth(method = "lm", col = "#c42126", se = Visualisation for statistical analysis: bar graph obs_bar