BaşlayınÜcretsiz Başlayın

is-dot functions

Now, you'll take a look at how to use the "is-dot" functions. In this exercise, you'll take weekends, a vector of all the weekend days in 2019, and complete a logical expression based on the tests made by the is-dot function.

The weekends object and the lubridate package are loaded for you.

Bu egzersiz

Manipulating Time Series Data in R

kursunun bir parçasıdır
Kursu Görüntüle

Egzersiz talimatları

  • Enter the correct "is-dot" function in order to make the if statement print the success message.

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Use the correct is-dot function to print the statement below

if (___) {
  print("You found the class of the weekends object!")
}
Kodu Düzenle ve Çalıştır