cluster_ids | R Documentation |
Cluster timestamped rows into clusters based on Badge.ID column sequence. Simplest case is to create a cluster while badge.IDs of consecutive rows are the same. If Badge.ID from row n to row n+1 changes, the n+1 row falls into new cluster.
cluster_ids(x, clusterOffSet = 1)
## S3 method for class 'smtrx'
cluster_ids(x, clusterOffSet = 1)
x |
Dataframe with Badge.ID column |
clusterOffSet |
Numeric start of cluster ID number |
Modified dataframe with additional column "clusterIDSeq".
smtrx
: Cluster badge IDs
cluster_ts
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.