Skip to contents

Subset Vector by Range

Usage

sf_sub(x, start = 1, stop)

Arguments

x

<character> vector

start

<integer> index start; default is 1

stop

<integer> index end

Value

<character> vector

Examples

sf_sub(random_hcpcs(2), 1, 2)
#>  [1] "S"  "3"  "J1" "73" "A0" "82" "32" "G9" "L5" "A6"