powered by
Calculate the Euclidean distance of two any pair-wise samples x_i and x_j for continuous variables
dist2eu(X, C)
A sample-feature matrix with rows as samples and columns as features
The same as X
A matrix whose elements at (i,j) is the Euclidean distance of two any pair-wise samples x_i and x_j
# NOT RUN { data_list <- simu_data_gen() X <- data_list[[1]] C <- X Diff <- dist2eu(X,C) # }
Run the code above in your browser using DataLab