CheckInputClustering | R Documentation |
Checks if input parameters are valid. For invalid parameters, this function (i) stops the run and generates an error message, or (ii) sets the invalid parameter to its default value and reports it in a warning message.
CheckInputClustering(
xdata,
Lambda = NULL,
pi_list = seq(0.6, 0.9, by = 0.01),
K = 100,
tau = 0.5,
seed = 1,
n_cat = 3,
implementation = HierarchicalClustering,
scale = TRUE,
resampling = "subsampling",
verbose = TRUE
)
xdata |
data matrix with observations as rows and variables as columns. |
Lambda |
vector of penalty parameters for weighted distance calculation.
Only used for distance-based clustering, including for example
|
K |
number of resampling iterations. |
tau |
subsample size. |
seed |
value of the seed to initialise the random number generator and
ensure reproducibility of the results (see |
n_cat |
computation options for the stability score. Default is
|
implementation |
function to use for clustering. Possible functions
include |
scale |
logical indicating if the data should be scaled to ensure that all variables contribute equally to the clustering of the observations. |
verbose |
logical indicating if a loading bar and messages should be printed. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.