# NOT RUN {
ratio_adjust(10, 0.8)
ratio_adjust(0.1, 0.8)
x <- seq(0.01, 2, 0.01)
plot(x, x, type = "l")
lines(x, ratio_adjust(x, 0.8, method = "log"), col = "red")
lines(x, ratio_adjust(x, 0.8, method = "left.linear"), col = "blue")
lines(x, ratio_adjust(x, 0.8, method = "max"), col = "green")
# }
Run the code above in your browser using DataLab