Closed rerickson-usgs closed 8 months ago
I'm using a loop to go over data. How do I create an empty patchwork object
patchwork
Let's say my loop looks like this:
df_save <- tibble() for (idx in my_names){ ## Do stuff .... out <- my_cool_function() df_save <- df_save |> bind_rows(out) }
How would I do this with patchwork? I didn't find a way to create a patchwork object that I could add to in the documentation.
I would generally store the plots you create in a list and use wrap_plots() to turn them into a patchwork
wrap_plots()
I'm using a loop to go over data. How do I create an empty
patchwork
objectLet's say my loop looks like this:
How would I do this with
patchwork
? I didn't find a way to create apatchwork
object that I could add to in the documentation.