Nothing
test_that("The function works when there are no NAs in the cube", {
X = Fujita2023$data
model = multiway::parafac(X, nfac=1, nstart=1, verbose=FALSE)
expect_no_error(calculateVarExp(model, X))
})
test_that("The function works when there are NAs in the cube", {
X = Shao2019$data
model = multiway::parafac(X, nfac=1, nstart=1, verbose=FALSE)
expect_no_error(calculateVarExp(model, X))
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.