User Tools

Site Tools


group_and_exclude

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

group_and_exclude [2015/12/16 13:25] (current)
vincenzo created
Line 1: Line 1:
 +<code c>
 +sample <- read.csv("/​Users/​vincenzo/​Desktop/​results-20151103-153508.csv"​)
 +a <- sample %>%
 +group_by(id) %>%
 +filter(first(event)=='​install'​ & event[2L]=='​sale'​)
  
 +</​code>​
group_and_exclude.txt ยท Last modified: 2015/12/16 13:25 by vincenzo