Can someone give me any hint why I'm getting an error message here? If I run this code where it's not in gray, it runs. When I copy/paste it to the gray section, I get an error.
Again, brand new to R here, so I'm sure it's something obvious but trying to get through an assignment and stuck here.enter image description here