Skip to content

Commit

Permalink
had to comment out code at the end of zone_summary
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul-Carvalho committed Apr 23, 2024
1 parent 54813f3 commit 863d262
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions R/zone_summary.R
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,8 @@ zone_summary <- function(dat,
spat_join
}

# spat_join <- merge_spat(zone_tab)
#
spat_join <- merge_spat(zone_tab)

# # base map ----
# if (dat.center) {
# # create a bbox using zones that exist in dat
Expand Down Expand Up @@ -466,18 +466,18 @@ zone_summary <- function(dat,
# }
}

# save table
save_table(zone_tab, project, "zone_summary")

# log function
zone_summary_function <- list()
zone_summary_function$functionID <- "zone_summary"
zone_summary_function$args <- list(dat, spat, project, zone.dat, zone.spat,
count, var, group, fun, breaks, n.breaks,
bin_colors, na.rm, dat.center, output)
log_call(project, zone_summary_function)

if (output == "plot") z_plot
else if (output == "tab_plot") list(table = zone_tab, plot = z_plot)
else zone_tab
# # save table
# save_table(zone_tab, project, "zone_summary")
#
# # log function
# zone_summary_function <- list()
# zone_summary_function$functionID <- "zone_summary"
# zone_summary_function$args <- list(dat, spat, project, zone.dat, zone.spat,
# count, var, group, fun, breaks, n.breaks,
# bin_colors, na.rm, dat.center, output)
# log_call(project, zone_summary_function)
#
# if (output == "plot") z_plot
# else if (output == "tab_plot") list(table = zone_tab, plot = z_plot)
# else zone_tab
}

0 comments on commit 863d262

Please sign in to comment.