Learn R Programming

runner (version 0.1.0)

unique_run: List of running windows

Description

Creates list of windows

Usage

unique_run(x, k = 0L)

Arguments

x

Vector of any type

k

integer vector which specifies window length

Examples

Run this code
# NOT RUN {
unique_run(1:10, k=3)
unique_run(letters[1:10],k=c(1,2,2,4,5,5,5,5,5,5))
# }

Run the code above in your browser using DataLab