Using dplyr to calculate geomean in a row wise fashion
I’d like to calculate the geomean using each row from three columns. I found solutions to calculate it from the values in one column (example), but not from a row. Here’s a simplified example: data <- structure(list(fs_id = structure(1:8, levels = c("CON1", "NC", "water", "SCR1", "FAN1_1", "CON2", "SCR2", "FAN1_2"), class = "factor"), twodct_ATP5B = c(1.06960527260684,… Read More Using dplyr to calculate geomean in a row wise fashion