Skip to contents

A function to regularize time for each id in a dataset

Usage

regularizeTime(dat, id_col)

Arguments

dat

A data frame with clustered data

id_col

The name of the column with the id

Value

A data frame with a new column t that goes from 0 to 1 for each id