movies_path: Movies path

Description Usage Arguments Value Examples

Description

Movies path

Usage

1
movies_path(names, movies_dataset, movies_graph)

Arguments

names

a vector filled with only two movie names

movies_dataset

a dataframe with all the movies including a column with the titles

movies_graph

a graph where vertices are movies and weighted edges between movies

Value

a dataframe with the shortest path between two movies

Examples

1
2
3
4
## Not run: 
movies_path(c("Superman", "Batman"), movies_dataset = tmdb, movies_graph = graph)

## End(Not run)

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