Skip to content

Commit 416c2a5

Browse files
committed
grouping idea commented out DET which killed install
1 parent 73ea0b7 commit 416c2a5

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

R/Grouping_idea_movegroup.R

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,30 +35,30 @@ m = 2 #Select shark group: naive = 1, provisioned = 2, unknown = 3
3535

3636
# C1.i: Studyperiod selection - DONT change this ----
3737

38-
spp <- sort(unique(DET$studyperiod))
38+
# spp <- sort(unique(DET$studyperiod))
3939
#> spp
4040
#[1] "night" "outside" "within"
4141

4242
# Select studyperiod
43-
spp.f <- spp[i]
43+
# spp.f <- spp[i]
4444

4545
# Filter for studyperiod
46-
DET.i <- filter(DET, studyperiod == spp.f)
46+
# DET.i <- filter(DET, studyperiod == spp.f)
4747

4848
# C2.l = Filter for shark group ----
4949
#sort(unique(DET$Elasmo))
5050

51-
sgrp <- sort(unique(DET$group))
52-
sgrp.f <- sgrp[m]
51+
# sgrp <- sort(unique(DET$group))
52+
# sgrp.f <- sgrp[m]
5353

54-
DET.i <- filter(DET.i, sgroup == sgrp.f)
54+
# DET.i <- filter(DET.i, sgroup == sgrp.f)
5555

5656
# C3: summarise data and check before submitting to dBBMM calc ----
5757

58-
ds.j <- DET.i
59-
table(ds.j$Elasmo)
60-
length(unique(ds.j$Elasmo))
61-
length(unique(ds.j$Station.Name))
58+
# ds.j <- DET.i
59+
# table(ds.j$Elasmo)
60+
# length(unique(ds.j$Elasmo))
61+
# length(unique(ds.j$Station.Name))
6262
#sort(unique(ds.j$Station.Name))
6363

6464
### Preparations are completed!

0 commit comments

Comments
 (0)