get_wecove {comat} | R Documentation |
Converts a weighted co-occurrence matrix (wecoma) to a weighted co-occurrence vector (wecove)
get_wecove(x, ordered = TRUE)
x |
A matrix - an output of the |
ordered |
The type of pairs considered. Either ordered (TRUE) or unordered (FALSE). The default is TRUE. |
A weighted co-occurrence vector
library(comat) library(raster) data(x, package = "comat") data(w, package = "comat") wom = get_wecoma(x, w) wom wov = get_wecove(wom) wov