16.2 Title, description, details
16.2.1 Title recommendations
- Sentence case
- not end in a full stop
- followed by a blank line
- succinct description of function
Bad titles:
str_detect()
: Detect the presence or absence of a pattern in a stringstr_extract()
: Extract matching patterns from a stringstr_locate()
: Locate the position of patterns in a stringstr_match()
: Extract matched groups from a string
Good titles:
mutate()
: Create, modify, and delete columnssummarise()
: Summarize each group to fewer rowsfilter()
: Subset rows using column valuesselect()
: Subset columns using their names and typesarrange()
: Arrange rows by column values