Skip to content

Commit

Permalink
hmmm
Browse files Browse the repository at this point in the history
  • Loading branch information
wcornwell committed Nov 17, 2024
1 parent 9f07e74 commit 6e00249
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/calculate_spectral_metrics.R
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ calculate_spectral_metrics <- function(pixel_values_df,
pixel_values_df$site_name <- "site1"
}
for (site in unique(pixel_values_df$site_name)) {
site_pixel_values <- pixel_values_df %>% filter(site_name == site)
site_pixel_values <- pixel_values_df %>% dplyr::filter(site_name == site)

# calculate metrics, pass rarefaction where needed
cv <- calculate_cv(site_pixel_values, wavelengths = wavelengths, rarefaction = rarefaction, n = n, min_points = min_points)
Expand Down

0 comments on commit 6e00249

Please sign in to comment.