Learn R Programming

reconstructr (version 1.1.1)

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 reconstruct_sessions)).

Usage

session_events(sessions)

Arguments

sessions
a list of sessions generated via reconstruct_sessions

See Also

reconstruct_sessions 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
## Not run: 
# #With a sessionised dataset (see ?reconstruct_sessions for an example)
# event_counts <- session_events(sessions)
# ## End(Not run)

Run the code above in your browser using DataLab