powered by
threshold
matrix_threshold(matrix, threshold=NULL, minval=0, maxval=NULL, abs=TRUE, rmna=FALSE,...)
minval
max_threshold
rm.na
#using USArrest dataset arrestCor<-cor(t(USArrests)) arrestCor.7<-matrix_threshold(arrestCor, threshold=0.7, minval=0, abs=TRUE, rm.na=FALSE) arrestCor[10:15,1:5] arrestCor.7[10:15,1:5]
Run the code above in your browser using DataLab