Gower's Distance

Compute Gower's distance (or similarity) coefficient between records. Compute the top-n matches between records. Core algorithms are executed in parallel on systems supporting OpenMP.


News

version 0.2.0

  • gower_dist and gower_topn gain weight argument for weighted matching (thanks to David Turner)
  • gower_dist and gower_topn gain ignore_case argument for automatic column matching.
  • gower_dist now returns numeric(0) invisibly when there are no columns to compare.
  • gower_topn now returns a list with empty matrices when there are no columns to compare.
  • gower_topn now warns when n>nrow(y) and sets n=nrow(y)
  • bugfix: comparing factors with characters would cause a crash (thanks to Max Kuhn)

version 0.1.2

  • fixed valgrind warning
  • registered native routines, as now recommended by CRAN

version 0.1.1

  • gower_dist now issues warning when nr of rows on input do not divide (recycling)
  • Code now depends on gcc version for compatability with Windows + R<=3.2.x
  • Bugfix: bad range calculation caused faulty distance computation

version 0.1.0

  • First release

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("gower")

0.2.1 by Mark van der Loo, 12 days ago


https://github.com/markvanderloo/gower


Report a bug at https://github.com/markvanderloo/gower/issues


Browse source code at https://github.com/cran/gower


Authors: Mark van der Loo [aut, cre] , David Turner [ctb]


Documentation:   PDF Manual  


GPL-3 license


Suggests tinytest


Imported by lime, live, recipes, simputation.

Depended on by ceterisParibus.

Suggested by iml, ingredients, yaImpute.


See at CRAN