Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion functions.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ f3 <- function(x, y) {

<div class="answer">

The function `f1` tests whether each element of the character vector `nchar`
The function `f1` tests whether each element of the character vector `string`
starts with the string `prefix`. For example,
```{r}
f1(c("abc", "abcde", "ad"), "ab")
Expand Down