Nothing
tsort <- function(from, to, domain, strict = TRUE) {
stopifnot(is.atomic(from))
stopifnot(is.atomic(to))
stopifnot(mode(from) == mode(to))
stopifnot(length(from) == length(to))
stopifnot(all(! is.na(from)))
stopifnot(all(! is.na(to)))
stopifnot(is.logical(strict))
stopifnot(length(strict) == 1)
if (missing(domain)) {
domain <- union(from, to)
} else {
stopifnot(all(from %in% domain))
stopifnot(all(to %in% domain))
}
efrom <- match(from, domain)
eto <- match(to, domain)
out <- .C(C_tsort, from = as.integer(efrom), to = as.integer(eto),
lenfrom = as.integer(length(efrom)), result = integer(length(domain)),
lenresult = as.integer(length(domain)), strict = strict)
sout <- domain[out$result]
return(sout)
}
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.