Nothing
assign("cp.xnews",
function(newdata,eigenvalues,data,trend, ...){
data[length(eigenvalues)+1, ] <- newdata[1,]
d <- gower.dist(data[1:length(eigenvalues),],data[length(eigenvalues)+1,],KR.corr=F, ...)
b <- diag(tcrossprod(trend))
x.new <- (1/2) * diag(eigenvalues[1:ncol(trend)]^(-1)) %*% t(trend) %*% (b - d)
x.new
}
)
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.