Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

scoreCatToFeat

Score similarity between a feature dataframe and categories


Description

Implemented using the Jaccard index, where a number closer to 1 is more similar.

Usage

scoreCatToFeat(features, categories)

Arguments

features

a vector of features to match (usually from a subset of the output [availableGeodataFeatures]) with a single property for a single geodatum.

categories

a vector of categories to match

Value

the Jaccard index for the values of the property given in feat_df and the vector of categories


crunch

Crunch.io Data Tools

v1.28.0
LGPL (>= 3)
Authors
Greg Freedman Ellis [aut, cre], Jonathan Keane [aut], Mike Malecki [aut], Neal Richardson [aut], Gordon Shotwell [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.