gower 0.2.0 is on CRAN

March 7, 2019

(This article was first published on R – Mark van der Loo, and kindly contributed to R-bloggers)

A new version of R package gower has just been released on CRAN.

Thanks to our new contributor David Turner who was kind enough to provide a pull request, gower now also computes weighted gower distances.

From the NEWS file:

  • 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)

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.

To leave a comment for the author, please follow the link and comment on their blog: R – Mark van der Loo.

R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...

If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.

Search R-bloggers

Recent popular posts


Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)