Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 554 Bytes

r_cheatsheet.md

File metadata and controls

20 lines (14 loc) · 554 Bytes

R cheat sheet

search & help

get help on a <function>

?<function>

get the names of the R functions associated with the <query>

help.search("<query>")

what package is a <function> in?

find(<function>)

get the names of all objects in that match a (potentially partial) <query>

apropos(<query>)

see a worked example (the printed and graphical output produced by the lm <function>)

example(<function>)

get info about the contents of a <library>:

library(help=<library>)