powered by
compare_rows(mat, method = c("prop_mismatches", "rms_difference"))
method="prop_mismatches"
nrow(mat)
NA
n <- 10 p <- 200 x <- matrix(sample(1:4, n*p, replace=TRUE), ncol=p) d <- compare_rows(x)
Run the code above in your browser using DataLab