tests/testthat/test-scatters.R

# test_that("tcov() works correctly", {
#   X <- iris[, 1:4]
#   expect_equal(tcov(X), ICSClust:::tcov_amap(X))
# })
# 
# test_that("ucov() works correctly", {
#   X <- iris[, 1:4]
#   beta <- 4
#   expect_equal(ucov(X, beta = beta), ICSClust:::ucov_amap(X, beta = beta))
# })

Try the ICSClust package in your browser

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

ICSClust documentation built on Sept. 21, 2023, 5:07 p.m.