Learn R Programming

pintervals (version 1.0.1)

contiguize_intervals: Contiguize non-contiguous intervals

Description

Contiguize non-contiguous intervals

Usage

contiguize_intervals(
  pot_lower_bounds,
  pot_upper_bounds,
  empirical_lower_bounds,
  empirical_upper_bounds,
  return_all = FALSE
)

Arguments

pot_lower_bounds

Potential non-contiguous lower bounds

pot_upper_bounds

Potential non-contiguous upper bounds

empirical_lower_bounds

Observed lower bounds

empirical_upper_bounds

Observed upper bounds

return_all

Return all intervals or just contiguous intervals