White Space for Character Fields

Learn about using white spaces for character fields in R.

Does white space really matter for character fields?

We use the following example to show whether R considers "USA" (without any white space) to be the same as " USA" (with one white space in front of USA).

Get hands-on with 1200+ tech skills courses.