Please use D2L to turn in both the HTML output and your R Markdown file in.
Summarize what you learned from the Google R style guide.
What has been your favorite thing about this course so far?
What (if anything) could be changed in this course to improve your learning?
Write a function that:
Note the modulus operator %%
is useful. This is the remainder for division, so this provides an easy way to test whether an integer is even or odd as 7 %% 2 is 1 and 8 %% 2 is 0.
#is.even <- function(val){
# remainder <- val %% 2 == 1
#}
Download the Housing dataset at: http://math.montana.edu/ahoegh/teaching/stat408/datasets/HousingSales.csv. Use the aggregate
function to compute the average home price across the states in the dataset. Print the results to a table using the kable
function.