Nothing
# library(testthat)
# library(dendextend)
context("is.functions")
test_that("is.phylo works", {
dend <- as.dendrogram(hclust(dist(1:5)))
phy <- ape::as.phylo(dend)
expect_true(
is.phylo(phy)
)
})
test_that("fac2num works", {
# if non-factor object passed in
expect_error(
fac2num(1:4)
)
})
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.