inst/unitTests/test_barycentre.R

test_barycentre <- function() {
    checkEquals(barycentre(1:3),5/3)
    checkEquals(barycentre(1:3,1:3),7/3)
}

Try the clustComp package in your browser

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

clustComp documentation built on Nov. 8, 2020, 5:54 p.m.