tests/testthat/testBalance.R

#context("Balance")


test_that("Balance", {
  expect_equal(Balance(2,2,cbind(c(0.1,0.1,0.8),c(0.2,0.1,0.7)),3,3), c(-2.079442,-1.252763),tolerance=1e-6)
  })

Try the CoDaLoMic package in your browser

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

CoDaLoMic documentation built on April 12, 2025, 2:18 a.m.