Skip to content
Prev 74876 / 398502 Next

help regarding loops in R

if labda is the elements of the vector and you know what kexp is , you can
use apply

apply(your_vector, 1, function(x) 1- exp^(kexp^(-x)))


HTH

Jean
On Wed, 3 Aug 2005, Rangesh Kunnavakkam wrote: