Fixed spelling of purrr on line 121 (#208)
This commit is contained in:
parent
8da00ed69e
commit
6351bf51de
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue