context('scale_faster')
test_that('scale and scale_faster return the same result',{
X = matrix(1:20, 4, 5)
Y1 = scale(X)
Y2 = scale_faster(X)
expect_equivalent(Y1, Y2, tolerance = 1e-15, scale = 1)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.