stephpenn1 / STEEP-CF

0 stars 0 forks source link

What on earth #4

Closed bpbond closed 1 year ago

bpbond commented 1 year ago

What dark magic is this

params <- lapply(runlist_final[-1], `[`, r)

...oh OK, I get it. Wow! 👏

bpbond commented 1 year ago

...just FYI more common would be to use mapply for this. But your way totally works.

leeyap commented 1 year ago

Ha! Always good to see a "what on earth" issue. I'll add some comments to clarify what's happening.

bpbond commented 1 year ago

🙏