Last answered:

24 Mar 2022

Posted on:

18 Mar 2022

0

The dot in the Cars.Listings?

Hi!
I was just wondering why do we have to include a dot between the two words in the Cars.Listings in the aes parameter of the ggplot object? Why can't we simply say Cars Listings (with a space)?

1 answers ( 0 marked as helpful)
Instructor
Posted on:

24 Mar 2022

0

Hi Anas,
that's the name of the variable as it appears in the R environment, that's why I add a dot in the variable. You could try with a space and if it doesn't raise an error you're free to use this option as well.

Best,
365 Eli

Submit an answer