More linting
The last exercise was a little bit too easy. Try your hand at this one!
Deze oefening maakt deel uit van de cursus
Defensive R Programming
Oefeninstructies
- Fix the function according to the feedback received.
Praktische interactieve oefening
Probeer deze oefening eens door deze voorbeeldcode in te vullen.
# Fix the code
summarise_data = function(values)
{
c(mean(values),median(values))
}
stats<-summarise_data(runif(10))