if (FALSE) {
## Load and visualize a raw binary dataset:
data(toyMMD)
head(toyMMD)
## Compute MMD among bootstrapped samples:
resboot <- mmd_boot(
data = toyMMD,
B = 50, # number of bootstrap samples
angular = "Anscombe",
strategy = "excludeQNPT", # strategy for trait selection
k = 10 # minimal number of observations required per trait
)
## MDS plot for bootstrapped samples:
plot(
x = resboot,
method = "interval", # algorithm used for MDS computation
level = 0.95 # confidence level for the contour lines
)
}
Run the code above in your browser using DataLab