swcarpentry / r-novice-inflammation

Programming with R
http://swcarpentry.github.io/r-novice-inflammation/
Other
163 stars 395 forks source link

Suggestion: **Variable Naming Coventions** #538

Open dkangsim-ehg opened 2 years ago

dkangsim-ehg commented 2 years ago

Hello:

This contribution is for instructor training.

Although the instruction states a typical conventions for naming variables (http://swcarpentry.github.io/r-novice-inflammation/01-starting-with-data/index.html), it would be great for R newcomers to state that R is case sensitive, so a variable with A and a are different variables. I did not see this detail in the lesson.

Practicing the same naming convention would also increase accessibility for learners with disabilities. For example, distinguishing between UPPERCASE and lowercase letters can be a challenging task for learners with visual impairment.

Lizzydapsy commented 1 year ago

It might also be useful to state that, in R, variable is also referred to as an object. Beginners in R might find these terms a bit confusing if not prperly addressed.