The following question is about tidy data. The table below contains looks at crime data in different locations across Victoria:
| entry_point | X1 | crime_type | count |
|---|---|---|---|
| FRONT DOOR | Clayton | NA | 70 |
| FRONT DOOR | NA | NA | 70 |
| WINDOW | Clayton | burglary | 30 |
| WINDOW | NA | burglary | NA |
| NA | Clayton | NA | NA |
| NA | Monash | burglary | NA |
As usually we need to first inspect the variables and observations in this data set. What is the dimension of the data set?
The following question is about visualisation.
The data shows calories of a selection of chocolate bars, 100g equivalents. Calories mapped to the vertical axis. If you are wanting the reader to compare the inter quantile range of calories of milk and dark chocolates, which part of the plot do you need to observe?
Suppose you are working with the US air traffic on time database. You are interested in examining the length of the flights between New York City and Los Angeles.
You difference the arrival time in New York City from the departure time in Los Angeles, for all non-stop flights yesterday, and get an average flight time of 9 hours.
What is the reasonable explanation? Incorrect answers are penalised.
This question is about visualising temporal data.
The example data is on pedestrian counts in the city of Melbourne. The below plot looks at the pedestrian counts over weekdays in March, comparing 2019 to 2020.
ped %>%
ggplot(aes(x=Time, y=Count, group=Date, colour=as.factor(year))) +
geom_line() +
facet_wrap(~wday, ncol=7) +
scale_colour_brewer("", palette="Dark2") +
theme(legend.position="bottom", legend.title = element_blank())
Image failed to loadBy looking at the above plots, select all statements that are TRUE. Incorrect answers are penalised.
This question is about visualising temporal data.
The example data is on pedestrian counts in the city of Melbourne. The below plot looks at distribution of the pedestrian counts over weekdays in March across 24hrs, comparing 2019 to 2020.
ped %>%
ggplot(aes(x=Time, y=Count, group=Date, colour=as.factor(year))) +
geom_boxplot() +
facet_wrap(~ year, ncol= 1, scales = "free") +
scale_colour_brewer("", palette="Dark2") +
theme(legend.position="bottom", legend.title = element_blank())
Image failed to loadBy looking at the above plots, select all statements that are TRUE.
This question is about working with temporal data. The example data is on pedestrian counts in the city of Melbourne. What time periods of Melbourne pedestrian traffic are extracted by the code below?
Select all answers that you think are correct. Incorrect answers are penalised.
library(lubridate)
library(rwalkr)
ped_2020 <- melb_walk(from=Sys.Date() - 7L)
ped_2019 <- melb_walk(from=Sys.Date() - 30L - years(1), to=Sys.Date() - years(1))
The structure labelled A in the following diagram refers to
Which of the following structures drain into the right renal vein? (One or more correct answers)
Additionally, when dissecting the renal hilum, care must be taken to tie off vessels to other viscera supplied by the renal arteries. Which of the following viscera have branches from the renal arteries? (One or more correct answers)