Open maximesunnen opened 1 year ago
@maximesunnen the outputs look correct to me, we can try to help if you provide additional context or explanation of the expected result in each case.
@djhammill so for you the minimum is located at the intersection of the red and black line in the last 2 plots? The valley is located more on the left for me.
Mindensity uses adjust = 2
while geom_smooth uses adjust = 1
for the kernel density estimates. I suspect that if you set geom_density(adjust = 2)
the locations will line up better.
Created on 2023-04-10 with reprex v2.0.2