I’ve tried out the walk/walk2 function a few times today and I think I’m missing something.

My intention was to print a few plots and have the main title be different across each of them.

```
library(purrr)
library(dplyr)
```

```
Orange %>%
walk2(.x = .,
.y = .$Tree,
.f = ~plot(x = .x$age, y = .x$circumference, type = "l", main = .y))
```

I’ve tried throwing a group_by in there and not using the simplified formula structure:

```
Orange %>%
group_by(Tree) %>%
walk(.x = .,
.f = function(.x, .y){plot(x = .x$age, y = .x$circumference, type = "l")})
```

Does anyone have some suggestions? ( reprex is unnecessary this is base r data)