Aan de slagGa gratis aan de slag

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().

Deze oefening maakt deel uit van de cursus

Building Response Models in R

Cursus bekijken

Oefeninstructies

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

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

# Mean SALES


# Minimum SALES


# Maximum SALES
Code bewerken en uitvoeren