`srvhaz` <- function(x,a,b,c=0,s=0,i=1){x<-x*i;if(is.na(c)) c <- 0; if(is.na(s)) s <- 0;c+a*exp(b*x)/(1+s*a*(exp(b*x)-1)/b);}
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.