Learning a new software is like learning a new language, and some functions or commands will be like unknown words. An important function in R is help. For example, if we wanted to know how exactly to use the sum function, we could type
help(sum). You will see the results in the bottom-right panel.
or by using the question mark sign (?)
All help pages, like the one shown above, follow the same structure.
|Description||A brief description of the function|
|Usage||The complete syntax that includes all possible functions|
|Arguments||A brief explanation of all arguments|
|Details||Any relevant detail related to the function and its arguments|
|Value||The output values of the function|
|Examples||Examples of how to use the function|