[R] double integral calculation

Moohwan Kim kmhlmj2 at gmail.com
Sat Jun 18 08:17:10 CEST 2011


a=[0.1,0.2,0.1,0.3,0.4]
b=[0.2,0.3,0.1,0.2,0.5]
c=[1,1,1,1,1]
log(c+a-x*b) where x=unknown scale variable.

int=$$log(c+a-x*b)dadb, where $ denotes integral sign.

Actually, how could I calculate the integral's approximation?
double summation?

best,
moohwan



More information about the R-help mailing list