We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64670d0 commit 428ba33Copy full SHA for 428ba33
R/plot_onedim.R
@@ -230,10 +230,9 @@ plot_onedim <- dynutils::inherit_default_params(
230
231
#' @importFrom dplyr near
232
make_connection_plotdata <- function(linearised) {
233
- connections <- crossing(
234
- linearised$milestone_network %>% select(.data$from, x_from = .data$cumstart),
235
- linearised$milestone_network %>% select(.data$to, x_to = .data$cumend)
236
- ) %>%
+ from <- linearised$milestone_network %>% select(.data$from, x_from = .data$cumstart)
+ to <- linearised$milestone_network %>% select(.data$to, x_to = .data$cumend)
+ connections <- crossing(from, to) %>%
237
filter(
238
.data$from == .data$to,
239
.data$x_from != .data$x_to
0 commit comments