Skip to content

Commit

Permalink
added dplyr:: to filter statements
Browse files Browse the repository at this point in the history
  • Loading branch information
andybeet committed Aug 20, 2024
1 parent 2b94e65 commit bd8ec73
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions R/compare_spatial_vars.R
Original file line number Diff line number Diff line change
Expand Up @@ -194,10 +194,10 @@ compare_spatial_vars = function(param.dir,

#species ref box
ref.data.box =boxes %>%
dplyr::left_join(filter(ref.data,species == spp.names[s]))
dplyr::left_join(dplyr::filter(ref.data,species == spp.names[s]))

init.data.box = boxes %>%
dplyr::left_join(filter(init.data,species == spp.names[s]))
dplyr::left_join(dplyr::filter(init.data,species == spp.names[s]))

plot.data.ls = list()
for(r in 1:length(run.names)){
Expand Down Expand Up @@ -293,10 +293,10 @@ compare_spatial_vars = function(param.dir,

#species ref box
ref.data.box =boxes %>%
dplyr::left_join(filter(ref.data,species == fleet.combs$species[sf] & fleet == fleet.combs$fleet[sf]))
dplyr::left_join(dplyr::filter(ref.data,species == fleet.combs$species[sf] & fleet == fleet.combs$fleet[sf]))

init.data.box = boxes %>%
dplyr::left_join(filter(init.data,species == fleet.combs$species[sf]))
dplyr::left_join(dplyr::filter(init.data,species == fleet.combs$species[sf]))

plot.data.ls = list()
for(r in 1:length(run.names)){
Expand Down

0 comments on commit bd8ec73

Please sign in to comment.