Nothing
require(testthat)
require(matter)
context("prcomp")
test_that("prcomp", {
set.seed(1)
x <- matrix(rnorm(1000), nrow=100, ncol=10)
y <- matter_mat(x, nrow=100, ncol=10)
pca.x <- prcomp(x)
pca.y <- prcomp(y)
expect_equal(pca.x$rotation[,1:3], pca.y$rotation, tolerance=0.5)
})
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.