Skip to content
Prev 306892 / 398506 Next

integrate / Vectorize question

Hello,

Try


Fnum <- function(x, beta){
    sapply(x, function(x) integrate(f,lower=-x,upper=0,beta=beta)$value)
}


And all results were the same.

Hope this helps,

Rui Barradas
Em 03-10-2012 21:59, Gerrit Draisma escreveu: