Nothing
test_that("error of the input 'fun'", {
data("met")
data("physg")
expect_error(findSpread(physg,met,10,bray,scale=TRUE))
})
test_that("wrong distance funcion", {
data("met")
data("physg")
physg<-physg[-1,]
best.spread<-findSpread(physg,met,10,"BRAY",scale=TRUE)
expect_output(str(best.spread), "The distance funcion is not included in GRNNs, please try other functions.")
})
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.