LoslegenKostenlos loslegen

Understanding sales

sales.data contains information on beer volume SALES recorded over 124 WEEKS as well as past marketing activities run by the brewery such as PRICE, DISPLAY, and COUPON promotion campaigns.

To get a first impression about volume SALES you calculate some simple descriptive measures. You calculate the average number of SALES using the function mean() and the minimum and maximum SALES using the functions min() and max().

Diese Übung ist Teil des Kurses

Building Response Models in R

Kurs anzeigen

Anleitung zur Übung

  • Calculate the mean of SALES.
  • Calculate the minimum and maximum of SALES.

Interaktive Übung

Versuche dich an dieser Übung, indem du diesen Beispielcode vervollständigst.

# Mean SALES


# Minimum SALES


# Maximum SALES
Code bearbeiten und ausführen