IniziaInizia gratis

Find the error (2)

Just as before, let's switch roles. It's up to you to see what unforgivable mistakes we've made. Go fix them!

Questo esercizio fa parte del corso

Intermediate R

Visualizza il corso

Istruzioni dell'esercizio

Correct the expression. Make sure that your fix still uses the functions rep() and seq().

Esercizio pratico interattivo

Prova a risolvere questo esercizio completando il codice di esempio.

# Fix me
seq(rep(1, 7, by = 2), times = 7)
Modifica ed esegui il codice