tests/testthat/test-relWarps.r

context("relative warps")
test_that("relwarps behaves", {
              data(boneData)
              rW.baseline=readRDS("testdata/rW.rds")
              rwtest <- relWarps(boneLM)
              expect_equal(lapply(rwtest,abs),lapply(rW.baseline,abs),tol=1e-7,check.attributes = FALSE)
})

Try the Morpho package in your browser

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

Morpho documentation built on June 22, 2024, 7:19 p.m.