Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Task 1: Instructions First, get the data into your workspace and summarize it by year. Do you notice a pattern over time? Read datasets/breath_alcohol_ames.csv into
Task 1: Instructions
First, get the data into your workspace and summarize it by year. Do you notice a pattern over time?
- Read datasets/breath_alcohol_ames.csv into your workspace using the read_csv() function. Save it as ba_data.
- Count how many tests were administered in each year using the count() function, creating a new data set called ba_year.
# Load the packages library(dplyr) library(readr) library(ggplot2)
# Read the data into your workspace ba_data <- ....
# Quickly inspect the data head(ba_data)
# Obtain counts for each year # .... YOUR CODE FOR TASK 1 ....
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started