permcor2 to calculate permuted correlation on vectors. One vector is compared to various vectors of the same length. Useful e.g. if one variable has to be tested against various variables.dfcor(ox, y, method = "pearson", permutations = 1000, ...)dist object, extract vector via as.vector(x) beforehand).data.frame containing numeric vectors to correlate x with. Number of rows has to equal the length of xcor for other possibilities.cor).x was tested.out. It is based on a data.frame with nrow = ncol(y) giving the statistics for the correlation between x and each column of y as follows.method).dfcor is a wrapper for permcor2, which is usually called as a part of pcol. Here, the numeric vector in x is compared to each column vector of y.simba permcor, permcor2, mancor, pcol. Further see mantel of package vegan for a different implementation of permuted correlation on distance matrices.