analytics: Generic function that will apply a particular analytics...

Description Usage Arguments Value

View source: R/analytics.R

Description

Generic function that will apply a particular analytics approach to a vizlab object

Dispatch to appropriate analytics function

Catch analytics calls that have no matching type

Add a trigger for a given element to cause a analytics event when it is scrolled to

Add an event handler for a user clicking on a visualization that causes an analytics event to occur

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
analytics(viz)

## S3 method for class 'viz'
analytics(viz)

## S3 method for class 'analytics'
analytics(viz)

## S3 method for class 'scroll'
analytics(viz)

## S3 method for class 'click'
analytics(viz)

Arguments

viz

vizlab object or identifier

Value

vizlab object decorated with analytics


USGS-VIZLAB/vizlab documentation built on Nov. 20, 2017, 7:36 p.m.