Summary statistics
📖 Scenario: You work as a data analyst for a small company. You have collected sales data for a week and want to understand the basic statistics like average sales, minimum, and maximum sales to help the team make decisions.
🎯 Goal: Build a simple R script that calculates summary statistics (mean, minimum, maximum) for daily sales data.
📋 What You'll Learn
Create a numeric vector with exact daily sales values
Create a variable to hold the number of days
Calculate mean, minimum, and maximum sales using built-in functions
Print the calculated summary statistics
💡 Why This Matters
🌍 Real World
Summary statistics help businesses quickly understand data like sales, customer visits, or production numbers.
💼 Career
Data analysts and scientists use summary statistics daily to describe data before deeper analysis.
Progress0 / 4 steps