Welcome to the Get Help category!
This is where you can ask questions about your code. Some important things to remember when posting in this category
- Learn how to ask a good question and get a good answer!
- Remember to include a link to the exercise you need help with!
- If someone answers your question, please mark their response as a solution
- Once you understand a new concept, come back and try to help someone else!
Hi everyone! I am doing the exercise of the 1985 Cars Dataset (<https://www.codecademy.com/courses/learn-r/projects/1985-cars-r-project) and I am stuck in task 8 ( Add a new column to
mpg_diff_from_threshold . This will measure how far each car’s highway mpg is from 30 mpg. View the updated
This error comes up and I really don’t know what I am doing wrong, probably the most silly thing!
# add column cars >%> mutate(mpg_diff_from_threshold = highway_mpg - mpg_threshold)
Error: <text>:2:7: unexpected input 1: # add column 2: cars >%> ^
Can someone help me? thanks!