test_that("`acc()` works", {
p = 8 # p is the scales number
n = 200 # n is the amino acid number
lag = 7 # the lag paramter
mat = matrix(rnorm(p * n), nrow = p, ncol = n)
expect_equal(length(acc(mat, lag)), 448L)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.