Learn R Programming

ddpcr (version 1.15.2)

range_to_seq: Convert a range to a vector of all elements between the endpoints

Description

Convert a range to a vector of all elements between the endpoints

Usage

range_to_seq(rng)

Arguments

Examples

Run this code
range_to_seq(c(5, 8))   # 5:8
range_to_seq(c(8, 5))   # 5:8

Run the code above in your browser using DataLab