Last answered:

20 Jun 2024

Posted on:

04 Jun 2024

0

brackets to call columns

why when calling a column in functions we use double brackets " like what you did in melt and select functions", but in ggplot aes we don't use those brackets.

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

20 Jun 2024

0

Hi Doaa, 

thanks for reaching out! In most programming languages both types of brackets are syntacticly equivalent, that is when the code is compiled it doesn't matter which one you use. So, feel free to opt for whichever ones you prefer when coding. 

Let me know if you have any other questions. 


Best, 

365 Eli

Submit an answer