Description Usage Arguments Value Examples

Converts a weighted co-occurrence matrix (wecoma) to a weighted co-occurrence vector (wecove)

1 | ```
get_wecove(x, ordered = TRUE, normalization = "none")
``` |

`x` |
A matrix - an output of the |

`ordered` |
The type of pairs considered. Either "ordered" (TRUE) or "unordered" (FALSE). The default is TRUE. |

`normalization` |
Should the output vector be normalized? Either "none" or "pdf". The "pdf" option normalizes a vector to sum to one. The default is "none". |

A weighted co-occurrence vector

1 2 3 4 5 6 7 8 9 | ```
library(comat)
data(raster_x, package = "comat")
data(raster_w, package = "comat")
wom = get_wecoma(raster_x, raster_w)
wom
wov = get_wecove(wom)
wov
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.