Description Usage Arguments Value Author(s) Examples
View source: R/industry.R View source: R/comparison.R
load_cosine() loads .csv file that contains industry_group_name_a, industry_group_name_b and cosine_similarity_group column fields.
The function returns 1 ggplot:
skills - Histogram plot of cosine similarity for all possible pairwise industries
1 | load_cosine(file, field = NULL)
|
file |
Path to the input file |
field |
Column name of the cosine index. By default, |
load_cosine() returns 1 ggplot object skills
Kai Wei Tan kaitan@linkedin.com
1 2 3 4 5 6 7 8 | #load library
library('comparison')
#calling load_file function
test <- load_cosine("./dummy_data.csv", field = 'cosine_similarity_group')
#Plot histogram across all possible pairwise industries
test$skills
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.