Nothing
co_sparse <- function(n, a, i, j, index, type, use, inverse)
{
check.is.flag(inverse)
if (!is.double(a))
storage.mode(a) <- "double"
if (!is.integer(i))
storage.mode(i) <- "integer"
if (!is.integer(j))
storage.mode(j) <- "integer"
use <- check_use(use)
if (use == "everything")
{}
else if (use == "all.obs")
{
if (anyNA(a))
stop("missing observations in covar/pcor/cosine")
}
### TODO
# else if (use == "complete.obs")
# {
# if (anyNA(x))
# {
# out <- naomit_coo(a, i, j)
# a <- out[[1]]
# i <- out[[2]]
# j <- out[[3]]
# }
# }
else
stop("unsupported 'use' method")
.Call(R_co_sparse, as.integer(n), a, i, j, as.integer(index), as.integer(type), as.integer(inverse))
}
csc_to_coo <- function(row_ind, col_ptr)
{
.Call(R_csc_to_coo, row_ind, col_ptr)
}
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.