MulaiMulai sekarang secara 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!

Latihan ini adalah bagian dari kursus

Intermediate R

Lihat Kursus

Petunjuk latihan

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

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

# Fix me
seq(rep(1, 7, by = 2), times = 7)
Edit dan Jalankan Kode