ComeçarComece de graça

More linting

The last exercise was a little bit too easy. Try your hand at this one!

Este exercício faz parte do curso

Defensive R Programming

Ver curso

Instruções do exercício

  • Fix the function according to the feedback received.

Exercício interativo prático

Experimente este exercício completando este código de exemplo.

# Fix the code
summarise_data = function(values)
{
  c(mean(values),median(values))
}

stats<-summarise_data(runif(10))
Editar e executar o código