ПочатиПочніть безкоштовно

lubridate's as_date

Converting data to the proper class is a valuable R skill; now, you'll take your weekends object and convert it to the Date class using lubridate.

The lubridate package and the weekends object have already been loaded for you!

Ця вправа є частиною курсу

Manipulating Time Series Data in R

Переглянути курс

Інструкції до вправи

  • Use lubridate to convert weekends to the Date class, and assign it to weekends_date.
  • Print a summary of weekends_date to the console.

Інтерактивна практична вправа

Спробуйте виконати цю вправу, доповнивши цей зразок коду.

# Convert weekends to Date class with lubridate
___

# Print a summary of weekends_date
___
Редагувати та запускати код