Setup blog post by Aaron Schiff: https://schiff.co.nz/en/blog/r-and-vscode/
R in Visua Studio by the Visual Studio Code folks: https://code.visualstudio.com/docs/languages/r
Setup blog post by Aaron Schiff: https://schiff.co.nz/en/blog/r-and-vscode/
R in Visua Studio by the Visual Studio Code folks: https://code.visualstudio.com/docs/languages/r
I was having problems on the syntax to get the axis labels with subindices and superindices, as it didn’t work as in ggplot2. The trick was to use a single expression()
and specifying labeller = label_parsed)
Example:
resin_bv |> ggpairs(columns = c("canal_size_bv", "canal_area_bv", "canal_density_bv"), columnLabels = c("Canal~size~(mm^2)", "Canal~area~('%')", "Canal~density~(n~cm^{-2})"), upper = "blank", labeller = label_parsed) + theme_bw(base_size = 14)
Yesterday I was attending the Urban Forest Futures conference and there were several interesting presentations. Here is a couple of links to work that was mentioned:
DuckDB released a new R package – duckplyr, which enables running dplyr functions using the DuckDB engine on the backend (for large datasets)
https://github.com/duckdblabs/duckplyr
So I needed to remember how to do it. Thie post “Building an animation step-by-step with gganimate” is pretty helpful:
https://www.alexcookson.com/post/2020-10-18-building-an-animation-step-by-step-with-gganimate/
Copyright © 2024 Aleph: a Borgesian memex
Theme by Anders Noren — Up ↑