More linting
The last exercise was a little bit too easy. Try your hand at this one!
Bu egzersiz
Defensive R Programming
kursunun bir parçasıdırEgzersiz talimatları
- Fix the function according to the feedback received.
Uygulamalı interaktif egzersiz
Bu örnek kodu tamamlayarak bu egzersizi bitirin.
# Fix the code
summarise_data = function(values)
{
c(mean(values),median(values))
}
stats<-summarise_data(runif(10))