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

Retail sales

You work as an analyst for a marketing research company. You assist the marketing manager of a local microbrewery called the 3 MuskeBeers in analyzing and evaluating its core product, Hoppiness. The dataset provided to you, named sales.data, is already loaded for you in R.

The first task you have to work on is to understand the structure of your data. You can use the function str() to compactly display the structure and the first few observations of sales.data. Alternatively, you can use the function tail() to display only the last part of the data.

Bu egzersiz

Building Response Models in R

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

Egzersiz talimatları

  • Display the structure of sales.data by using the function str().
  • Display the last 6 observations of sales.data by using the function tail().

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Structure of sales.data


# Tail of sales.data
Kodu Düzenle ve Çalıştır