Nothing
find.hazard <- function(t, h.val, h.ranges, type, mode){
if(type=="increasing"){
h <- find.h.up(t, h.val, h.ranges)
}
if(type=="decreasing"){
h <- find.h.down(t, h.val, h.ranges)
}
if(type=="unimodal"){
if(t<mode){
h <- find.h.up(t, h.val, h.ranges)
}
if(t>mode){
h <- find.h.down(t, h.val, h.ranges)
}
if(t==mode){
h <- Inf
}}
if(type=="ushaped"){
if(t<mode){
h <- find.h.down(t, h.val, h.ranges)
}
if(t>mode){
h <- find.h.up(t, h.val, h.ranges)
}
if(t==mode){
h <- 0
}}
return(h)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.