Page 2 of 4

Superindex and subindex in ggpairs axes labels

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)
    

greenR: Green spaces in R

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:

Plant image analysis

The pliman (plant image analysis) package is designed to analyze plant images, particularly for leaf and seed analysis. It offers a range of functionalities to assist with various tasks such as measuring disease severity, counting lesions, obtaining lesion shapes, counting objects in an image, extracting object characteristics, performing Fourier Analysis, obtaining RGB values, extracting object coordinates and outlines, isolating objects, and plotting object measurements.

https://github.com/TiagoOlivoto/pliman

Copyright © 2024 Aleph: a Borgesian memex

Theme by Anders NorenUp ↑