From f23e9e5da58d1d19913703e11f7ff96a7adff96b Mon Sep 17 00:00:00 2001 From: Ben Green Date: Sun, 13 Sep 2015 23:52:40 -0400 Subject: updated prediction code for new model and data format --- R Scripts/duplicate-shotings.R | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 R Scripts/duplicate-shotings.R (limited to 'R Scripts/duplicate-shotings.R') diff --git a/R Scripts/duplicate-shotings.R b/R Scripts/duplicate-shotings.R new file mode 100644 index 0000000..0d17a4e --- /dev/null +++ b/R Scripts/duplicate-shotings.R @@ -0,0 +1,9 @@ +vic_times = vic_times_lcc[vic_ids,] +rows=c() +for(i in 1:dim(vic_times[1])){ + row = as.numeric(vic_times[i,2:7]) + if(max(table(row))>1){ + rows = c(rows,i) + } +} + -- cgit v1.2.3-70-g09d2