-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathR_general
11 lines (10 loc) · 1.74 KB
/
R_general
1
2
3
4
5
6
7
8
9
10
11
# General prupose file to store tips on programming
- [Add lists into data frames by wrapping list() with I(): data.frame(name = I(list))](https://www.r-bloggers.com/2016/07/populating-data-frame-cells-with-more-than-one-value/)
- [The Wilcoxon rank test could be replaced by fitting a regression model to z-scores of the ranks](https://statmodeling.stat.columbia.edu/2015/07/13/dont-do-the-wilcoxon/).
- Google Scholar can be scrapped with some code [here](https://github.com/j-5chneider/sysreview/tree/master), the [Publish or perish software](https://harzing.com/resources/publish-or-perish), or even a [package](https://www.eshackathon.org/software/GSscraper.html). I came across ths over at [Twitter](https://twitter.com/artzyatfailing2/status/1742831528621613559).
- Some [resources](https://medium.com/@causalwizard/online-causal-diagram-and-dag-drawing-editing-tools-900bb1815c86 on how to draw causal diagrams, and some nice [references](https://cran.r-project.org/web/packages/ggdag/vignettes/intro-to-dags.html)
- Handling of spatial data, including simplification of polygons to ease computational burden, with the Douglas-Peucker algorithm or the improved Visvalingam algorithm (https://r.geocompx.org/geometry-operations).
- A nice [list of statistics-learning resources](https://twitter.com/ucfagls/status/1780876165193830447) over at Twitter.
- Some [guidelines](https://www.britishecologicalsociety.org/publications/better-science/) by the British Ecological Society, covering reproducible code, data management, getting published, etc.
- Exporting plots as [svg](https://x.com/leonardojo/status/1828773827134062967) allows to edit the plots in Power Point, and they are still vectorised!
- A list of [useful functions](https://statisticsglobe.com/r-functions-list/).