Nothing
#' @useDynLib reclin2
equivalence <- function(x, src, dst) {
tmp <- unique(x)
tmp <- tmp[!is.na(tmp)]
a <- match(src, tmp)
b <- match(dst, tmp)
sel <- !is.na(a) & !is.na(b)
if (any(!sel)) {
warning("Not all values in rules are present in x.")
a <- a[sel]
b <- b[sel]
}
res <- equivalence_rcpp(as.integer(a)-1L, as.integer(b)-1L, length(tmp))
res[match(x, tmp)] + 1L
}
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.