Good day,

I have two probability densities, each with a function determined by 
splinefun(densityResult[['x']], densityResult[['y']], "natural"), where 
densityResult is the output of the density function in stats. How can I 
determine all of the x values at which the densities cross ?

--------------------------------------
Dario Strbenac
PhD Student
University of Sydney
Camperdown NSW 2050
Australia

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to