What are vectors?
Vector operations
Indexing and filtering
Simple analysis
Summary

Instruction

Nice job! Finding minimum and maximum salaries can be useful, but the company management is more likely to be interested in finding the average salary earned by its employees.

To calculate the average value of a collection of numbers invoke the mean() function. For example, we can calculate the average employee age using the following code:

mean(ages)

Exercise

The salaries are stored in the salaries vector. Determine the average salary earned by Versico employees.