Skip to content

Commit

Permalink
Fix typo in functions.qmd (#234)
Browse files Browse the repository at this point in the history
  • Loading branch information
tommarshall2 authored Oct 7, 2024
1 parent adbdbb7 commit 4d288db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ cv <- \(x) sd(x) / mean(x)

Avoid using `\()` in a pipe, and remember to use informative argument names.

## Multi-line function defintions
## Multi-line function definitions

There are two options if the function name and definition can't fit on a single line. In both cases, each argument goes on its own line; the difference is how deep you indent it and where you put `)` and `{`:

Expand Down

0 comments on commit 4d288db

Please sign in to comment.