-1

I have a bunch highly variable data, let's say:

a <- runif(1000, min = 10^-9, max = 10^9)
b <- runif(1000, min = 10^-9, max = 10^9)

for which I do require to create plots whose "y" axis is set like that of the following image:

enter image description here

But not necessarily centered in "1". I need to do this in R. Any idea?

perep1972
  • 147
  • 1
  • 9

1 Answers1

1

I have exactly the same problem, but I has been unable to fix it. I thought to split the data into two portions: those above my central measurement (median?) and those below the central measurement, create log plots for each portions reversing the scale in the case of the data less than the median (1 in your case) and then merg both plots. But I haveen unable to figurea out hot to plot partial boxplots...

  • Finally a constructive answer. I will think on that idea of partial boxplot and come back if find a solution. – perep1972 Jun 20 '20 at 20:54