Nothing
`isomap` <-
function(dist, ndim=10, ...)
{
dist <- isomapdist(dist, ...)
out <- cmdscale(dist, k=ndim, eig=TRUE)
## some versions of cmdscale may return NaN points corresponding
## to negative eigenvalues.
if ((naxes <- sum(out$eig > 0)) < ndim) {
out$points <- out$points[, seq(naxes), drop = FALSE]
warning(gettextf("isomap returns only %d axes with positive eigenvalues",
naxes))
}
npoints <- nrow(out$points)
net <- matrix(FALSE, nrow=npoints, ncol=npoints)
net[lower.tri(net)][attr(dist, "net")] <- TRUE
net <- which(net, arr.ind=TRUE)
out$method <- attr(dist, "method")
out$criterion <- attr(dist, "criterion")
out$critval <- attr(dist, "critval")
out$take <- attr(dist, "take")
out$net <- net
out$npoints <- npoints
out$call <- match.call()
class(out) <- "isomap"
out
}
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.