anyone-can-cook / rclass1

EDUC 260A: Introduction to Programming and Data Management Using R
https://anyone-can-cook.github.io/rclass1/
5 stars 5 forks source link

PS1: TIP: Avoid dyslexic mistakes (Reflection) #97

Open upascal opened 1 year ago

upascal commented 1 year ago

When I was doing the problem 1 assignment I kept getting an answer wrong and, for the longest time, I couldn't figure out why.

Finally, I realized that the problem was that I included rm.na instead of na.rm in the function.

I guess in my mind I was thinking "remove NA" not "NA remove"

Oops!

EuphieGe commented 1 year ago

Sometimes errors can be identified from error messages, which is also an important skill!