Nothing
yuleint2 <-
function(x, st1, st2)
{
nvec <- 2:(length(x)+1)
nv <- x[(x < st1) & (x >= st2)]
lo <- max(nvec[x >= st1])
up <- max(nvec[x >= st2])
# cat("lo:",lo, "\n")
# cat("up:",up, "\n")
if (st1 <= x[1])
{nv <- c(st1, nv) - st2}
else
{nv <- nv - st2}
smax <- (up-lo)/(lo*nv[1] + sum(nv[2:(up-lo +1)]))
s1 <- sum(log(lo:(up-1)))
s2 <- (up-lo)*log(smax)
# s3 <- -(lo*nv[1] + sum(nv[2:(up-lo+1)]))*smax
s3 <- lo-up # 10% schneller
# res$smax <- smax
# res$LH <- s1 + s2 + s3
c(smax=smax, LH=s1+s2+s3)
}
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.