Nothing
myEps <- if (capabilities("long.double")) .Machine$double.eps else 1e-5
test_that(" simple calc_mult_rowsum2 an A * rowsum( L * M , v)) are equal ", {
set.seed(123)
x <- matrix(runif(20 * 50 * 1000), ncol = 20)
y <- matrix(runif(20 * 50 * 1000), ncol = 20)
group <- sort( sample(1 : 500, 50 * 1000, TRUE))
xmult <- matrix(runif(20 * 500), ncol = 20)
expect_equal(as.vector(xmult * rowsum(x * y, group)), as.vector(calc_mult_rowsum2(v = group, A = xmult, x, y)), tolerance = (10 ^ 2) * myEps, scale = 1)
})
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.