inst/tinytest/test-evalClusters.R

### Unit tests for evalClusters in ChemoSpec
# This example is wrapped in dontrun in the Rd for evalClusters
# as it takes a bit of time, so run only at home

home <- identical(Sys.info()["nodename"], "Abbott-2.local")
if (home) {
  data(metMUD2)
  expect_silent(evalClusters(metMUD2, min.nc = 2, max.nc = 5,
                method = "average", index = "kl"))
}

Try the ChemoSpec package in your browser

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

ChemoSpec documentation built on June 7, 2023, 6:13 p.m.