Hi community,
in Hadley Wickham's paper "Tidy Data":
there is a line of code on page 16:
hod2 <- count(deaths, c("hod", "cod"))
'hod2' is a variable that gets assigned the result of the 'count' function. 'deaths' seems to be a dataset. 'hod' and "cod' are two variables or columns in the 'deaths' dataset.
Why is the author creating a vector with the c() function, containing 'hod' and 'cod' in the count-function? Sorry, but I cannot figure it out, not even using a web search engine.
Thank you