Learn R Programming

reconstructr (version 0.5)

session_events: count the number of events in a session (or set of sessions)

Description

session_events counts the number of events in a session, or in multiple sessions, based on a provided "sessions" list (which can be generated via sessionise)).

Usage

session_events(sessions)

Arguments

sessions
a list of sessions generated via sessionise

See Also

sessionise for generating sessions, session_length for session length, and bounce_rate for the bounce rate represented by a set of sessions.

Examples

Run this code
#With a sessionised dataset (see ?sessionise for an example)
event_counts <- session_events(sessions)

Run the code above in your browser using DataLab