Skip to content

Commit

Permalink
calc_veg_core_area_species: data_vegetation toegevogd bij argument
Browse files Browse the repository at this point in the history
  • Loading branch information
leymanan committed Jun 10, 2021
1 parent 02765da commit f579319
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 1 addition & 4 deletions R/calculate_vegetation_core_area_species.R
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#' @importFrom dplyr %>% group_by n_distinct summarise ungroup
#' @importFrom rlang .data
#'
calculate_vegetation_core_area_species <- function(data_herblayer) {
calculate_vegetation_core_area_species <- function(data_herblayer, data_vegetation) {
by_core_area_species <- data_herblayer %>%
left_join(
data_vegetation %>%
Expand All @@ -34,9 +34,6 @@ calculate_vegetation_core_area_species <- function(data_herblayer) {
ungroup() %>%
select(.data$plot_id, .data$period, .data$n_subplots)
) %>%
# mutate(
# n_subplots = n_distinct(.data$subplot_id)
# ) %>%
group_by(
.data$plot_id, .data$year, .data$period, .data$species
) %>%
Expand Down
4 changes: 3 additions & 1 deletion man/calculate_vegetation_core_area_species.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f579319

Please sign in to comment.