Nothing
dhist<-function(x, z, pz){
fx<-rep(0,length(x))
h <- rep(0, length(z) -1)
for(i in 1:length(h)){
h[i]<-(pz[i+1] - pz[i]) / (z[i+1]-z[i])
}
nz<-length(z)
for(i in 1:length(x)){
index<- (x[i]<=z[2:nz]) & (x[i]>z[1:(nz-1)])
if(sum(index)>0){
fx[i] <- h[index]
}
}
fx
}
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.