Description Usage Arguments Value

Compares categorical crime data to check if they match.

1 | ```
compareCategorical(C1, C2, levs, binary = FALSE)
``` |

`C1` |
length n categorical values of crime attributes |

`C2` |
length n categorical values of crime attributes |

`levs` |
the levels of all possible values |

`binary` |
(logical) match/no match or all combinations |

if binary=TRUE: 1 for match, 0 for non-matches; if binary=FALSE: factor vector of merged values (in form of f1:f2)

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.