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