One advantage of using R is that it is a very well-documented programming language. This is often because there is a certain amount of documentation that is required by CRAN before it will publish a package on the website.
It is considered a best practice to document your packages or functions well, no matter where you are publishing them. Good documentation is important, both for other people who may use your functions and also for yourself when you return to them in the future.
As such, there are a few built-in ways in R to get help. The first way to get help is to use the package documentation. You can access it by using the help() function or the question mark ?. These will do the same thing. For example, ...