Nothing
library("anticlust")
# standardize argument only works for intended input
expect_error(
anticlustering(
rnorm(10),
K = 2,
standardize = 123
)
)
expect_error(
anticlustering(
rnorm(10),
K = 2,
standardize = "foof"
)
)
expect_error(
anticlustering(
rnorm(10),
K = 2,
standardize = c(TRUE, FALSE)
)
)
expect_error(
anticlustering(
rnorm(10),
K = 2,
standardize = NA
)
)
expect_true(length(
anticlustering(
rnorm(10),
K = 2,
standardize = TRUE
)) == 10)
expect_true(length(
anticlustering(
rnorm(10),
K = 2,
standardize = FALSE
)) == 10)
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.