tests/testthat/test-stability.R

context("stability")

data("nba_clusts")

test_that("colour by stability works", {
    expect_is(clustree(nba_clusts, prefix = "K",
                       node_colour = "sc3_stability"),
              c("gg", "ggplot"))
})

Try the clustree package in your browser

Any scripts or data that you put into this service are public.

clustree documentation built on Nov. 6, 2023, 1:07 a.m.