frequencies {clickstream}R Documentation

Generates a Data Frame of State Frequencies for All Clickstreams in a List of Clickstreams

Description

Generates a data frame of state frequencies for all clickstreams in a list of clickstreams.

Usage

frequencies(clickstreamList)

Arguments

clickstreamList

A list of clickstreams.

Value

A data frame containing state frequencies for each clickstream.

Author(s)

Michael Scholz michael.scholz@th-deg.de

See Also

transactions

Examples


clickstreams <- c("User1,h,c,c,p,c,h,c,p,p,c,p,p,o",
               "User2,i,c,i,c,c,c,d",
               "User3,h,i,c,i,c,p,c,c,p,c,c,i,d",
               "User4,c,c,p,c,d",
               "User5,h,c,c,p,p,c,p,p,p,i,p,o",
               "User6,i,h,c,c,p,p,c,p,c,d")
cls <- as.clickstreams(clickstreams, header = TRUE)
frequencyDF <- frequencies(cls)


[Package clickstream version 1.3.3 Index]