Closed Asajoh closed 4 years ago
I updated everything and installed the package and that helped. Thank you so much for this. It's awesome.
Alright, glad it worked out in the end!
I'm having the same problem. I copy pasted the function code into my environment and ran it. Plus installed the 2 packages gtable and grid. still not working.
From a maintenance perspective I had nested facetting function depend on functions elsewhere in the package to reduce the amount of code duplication, so probably you'd have to install the package to get this working correctly.
I found your code via StackOverflow, but I don't have enough reputation to comment on your answer there. Someone else seems to have had a similar issue, and I tried loading the packages that you suggested (
grid
andgtable
), but I'm still getting the error.In full, it's:
Error in facet_nested(time ~ place + Hs_group) : object '.int' not found
My full code is:
It's basically panels with two lines with shading in between using
geom_ribbon
Any clue what might be going wrong?