More linting
The last exercise was a little bit too easy. Try your hand at this one!
Questo esercizio fa parte del corso
Defensive R Programming
Istruzioni dell'esercizio
- Fix the function according to the feedback received.
Esercizio pratico interattivo
Prova a risolvere questo esercizio completando il codice di esempio.
# Fix the code
summarise_data = function(values)
{
c(mean(values),median(values))
}
stats<-summarise_data(runif(10))