Nothing
test_that("3SFCA works", {
# Observed
p <- 1:4
s <- 1:6
D <- matrix(1:24, ncol = 4, nrow = 6)
spai <- spai_3sfca(p, s, D, step = 3)
# Expected
expected <- data.frame(
step3 = c(0.6686168, 1.3565093, 2.0921208, 2.8355005)
)
rownames(expected) <- seq_len(4)
# Test
expect_equal(spai, expected)
})
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.