Skip to content

Commit

Permalink
Fixed spelling of purrr on line 121 (hadley#208)
Browse files Browse the repository at this point in the history
  • Loading branch information
batpigandme authored and hadley committed Jul 29, 2016
1 parent 8da00ed commit 6351bf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model-basics.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ measure_distance <- function(mod, data) {
measure_distance(c(7, 1.5), sim1)
```

Now we can use purrrr to compute the distance for all the models defined above. We need a helper function because our distance function expects the model as a numeric vector of length 2.
Now we can use purrr to compute the distance for all the models defined above. We need a helper function because our distance function expects the model as a numeric vector of length 2.

```{r}
sim1_dist <- function(a1, a2) {
Expand Down

0 comments on commit 6351bf5

Please sign in to comment.