Nothing
LocalConvexity <- function(x, phi) {
n <- length(x)
deriv <- diff(phi) / diff(x)
conv <- 1:n * 0
if (n > 2) {
conv[2:(n - 1)] <- diff(deriv[1:(n - 1)])
}
return(matrix(conv, ncol = 1))
}
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.