Nothing
fMargalef <-
function(x, s, n, location){
nx <- length(x)
if (nx==0) stop("No observations)")
if (s=="") stop("s is missing)")
if (n=="") stop("n is missing)")
if (location=="") stop("location is missing)")
R1 <- data.frame(x[[location]], (x[[s]] -1) / log(x[[n]]))
names(R1) <- c("location", "margalef")
return(R1)
}
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.