Thank you for the nice video Wolf! I'm using lapply a lot, but I have never used it to create multiple graphics. That's a great idea! Regards, Joachim
@StatistikinDD2 жыл бұрын
Thanks, Joachim! Lots of applications ...
@kristinwindsland96152 жыл бұрын
I have just discovered lapply and this was VERY helpful. Thank you!
@baruqrodrigues2 жыл бұрын
great video, congratulations.
@StatistikinDD2 жыл бұрын
Thank you! :-)
@KN-tx7sd2 жыл бұрын
When I tried to run the r-codes I'm getting only one figure at a time. However, in your presentation, I can see 4-5 composite figures. Is there another command included in the function or loop to generate the composite figures you have shown in the video like ggarrange/ggpubr. Thank you, KN
@StatistikinDD2 жыл бұрын
Hi K N, I used a markdown-based format called xaringan (R package) for the presentation. In markdown, I used the chunk option fig.show = "hold" See here (or link in video description) : github.com/fjodor/functional-programming/blob/main/lapply.Rmd Details here: yihui.org/knitr/options/#plots Kind regards Wolf
@KN-tx7sd2 жыл бұрын
can lapply be used to plot layers in a circular plot using packages like 'circlize'. If so can you kindly provide a link for the same?
@StatistikinDD2 жыл бұрын
Sorry, haven't used circlize yet.
@KN-tx7sd2 жыл бұрын
@@StatistikinDD thanks for the prompt reply
@Black-ot4js Жыл бұрын
Is there a way to use "lapply " with "openair" graphs?
@StatistikinDD Жыл бұрын
Sure. lapply is not limited to Base R applications or in the type of functions you can use. You just need to pass the required arguments. If you need to pass several arguments at once, you may need to look into map2 / walk2 or pmap / pwalk from the purrr package.