Displaying 1 result from an estimated 1 matches for "hematocrit".
2007 Nov 06
1
Integrating a function
Hello everybody!
I have problems with integrating my function.
My primary function is a “survival function” of the following type:
surviv <- exp(-k*x)/(1+exp(alpha*(x-tau)))
I would like to integrate this function over a defined range and obtain a
vector with all the values from integrate(surviv, 0, x) for x <- 1:N.
I unfortunately obtain just a scalar value corresponding to the last