HedvigS / SH.misc

GNU General Public License v3.0
0 stars 0 forks source link

Phylo.d wrapper pt2 #4

Closed HedvigS closed 9 months ago

HedvigS commented 9 months ago

I changed the messages around with the linebreaks, I don't want to force line breaks in certain places. I hope that's okay.

I also added a part of the example to illustrate a for-loop. I tried to add a apply or purrr::map example too, but it got tricky and I don't have time right now. If you want to have a non-for-loop variant, feel free to add it :)!

HedvigS commented 9 months ago

I’m OK with removing linebreaks in messages. I’ve added an example of purrr::map() that should produce exactly the same output as the loop.

Excellent!