Skip to content

Commit

Permalink
Merge pull request #959 from OldLipe/feat/plot_patterns
Browse files Browse the repository at this point in the history
Add bands parameter in plot patterns
  • Loading branch information
gilbertocamara committed Apr 28, 2023
2 parents ae55a36 + 4b5524f commit 38ac57d
Show file tree
Hide file tree
Showing 6 changed files with 1,059 additions and 134 deletions.
1 change: 0 additions & 1 deletion R/sits_bands.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#'
#' @export
sits_bands <- function(x) {

# Set caller to show in errors
.check_set_caller("sits_bands")
# Get the meta-type (sits or cube)
Expand Down
2 changes: 1 addition & 1 deletion R/sits_get_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ sits_get_data.data.frame <- function(cube,
}

ts_tbl <- ts_tbl %>%
dplyr::summarise(
dplyr::reframe(
dplyr::across(dplyr::all_of(bands), stats::na.omit)) %>%
dplyr::arrange(.data[["Index"]]) %>%
dplyr::ungroup() %>%
Expand Down
Loading

0 comments on commit 38ac57d

Please sign in to comment.