Skip to contents

inverse_ecdf

Usage

inverse_ecdf(data, col, min_length, rest_state = FALSE)

Arguments

data

A data frame (e.g. a tibble)

col

Variable to make the density function for.

min_length

Minimal starting duration in frames

rest_state

Whether to make the ecdf for resting or active periods. TRUE or FALSE (default)

Value

Inverse ECDF