score_genre: Score genre

Description Usage Arguments Value Examples

Description

Score genre

Usage

1
score_genre(i, j, genre_matrix)

Arguments

i

integer, the first movie index

j

integer, the second movie index

genre_matrix

the matrix with all the genres and the movies

Value

an integer, the number of genres in common

Examples

1
2
3
4
## Not run: 
score_genre <- function(1,3, genre_matrix = matrix_movies)

## End(Not run)

daniel-wientjens/Moviefunctions documentation built on May 14, 2019, 12:44 p.m.