Nothing
context("ml.lm")
test_that("lm works", {
skip_on_cran()
myConn <- ml.connect(port = "8088")
mlIris <- as.ml.data.frame(myConn, iris, "iris-test")
lm <- ml.lm(Sepal.Length~Sepal.Width, mlIris)
expect_match(lm$intercept, "6.52")
expect_match(lm$coefficients, "-0.22")
expect_match(lm$rsquared, "0.01")
rm.ml.data.frame(mlIris)
})
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.