2.3. Markov Chain - Predicting with new probabilities

Sign in to test your solution.
cls <- list(Session1 = c("P1", "P2", "P1", "P3", "P4", "Defer"), Session2 = c("P3", "P4", "P1", "P3", "Defer"), Session3 = c("P5", "P1", "P6", "P7", "P6", "P7", "P8", "P7", "Buy"), Session4 = c("P9", "P2", "P11", "P12", "P11", "P13", "P11", "Buy"), Session5 = c("P4", "P6", "P11", "P6", "P1", "P3", "Defer"), Session6 = c("P3", "P13", "P12", "P4", "P12", "P1", "P4", "P1", "P3", "Defer"), Session7 = c("P10", "P5", "P10", "P8", "P8", "P5", "P1", "P7", "Buy"), Session8 = c("P9", "P2", "P1", "P9", "P3", "P1", "Defer"), Session9 = c("P5", "P8", "P5", "P7", "P4", "P1", "P6", "P4", "Defer")) class(cls) <- "Clickstreams"
You can submit as many times as you like. Only your latest submission will be taken into account.
Sign in to test your solution.