1.6 Documentation
As you may now appreciate, there is a massive amount of information tied to R. There are functions already implemented for most of the typical data transformations that you may wish to perform. One of hardest challenges with R is finding the method that does what you need. It’s out there!
Function | Description |
---|---|
? |
is used to find out information about a specific function. E.g. ?t.test will give you information about how to use the t.test function in R. |
apropos() |
will return a vector of all the objects or functions with names containing the specified search string. E.g. apropos("test") will find around 50 different statistical test functions, while apropos("mixed") will find mixedList and mixedVector variables that we created earlier (or at least it would if we hadn’t just deleted all our objects!) |
help.search() |
searches the help documentation for entries matching the search string. Items will match if the search term is included in the function description or keywords, not just the name as is the case for apropos . |
?t.test
apropos("test")
help.search("topic")