[R] Integration of two lines

Xavier Robin Xavier.Robin at unige.ch
Tue Jan 25 15:44:11 CET 2011

Le 25.01.2011 15:23, Rmh a écrit :
> g <- function(x) abs(f1(x)-f2(x))
> now you have one function and you can integrate it.

Thank you Rich.

Unfortunately I have no f1 and f2 functions, only a set of observed
points on two lines - and no idea about the underlying distribution to
create a function.

Other ideas?


More information about the R-help mailing list