graph_data: Graph Data

Description Usage Arguments Value

View source: R/graphdata.R

Description

Creates an object of class "iGraph" by transforming event level data into network data.

Usage

1
graph_data(data, id, product_id)

Arguments

data

dataframe of purchase history

id

column name identifying the user id

product_id

column name identifying the id of the objects purchased

Value

an object of class "iGraph"


matthiasronnau/graphdata documentation built on March 28, 2021, 1:31 p.m.