Learn R Programming

emuR (version 2.5.0)

normalize_length: Normalize length of segments contained in a data.frame like object returned by get_trackdata

Description

Normalize length of segments contained in a data.frame like object returned by get_trackdata

Usage

normalize_length(x, colNames = NULL, N = 21)

Value

data.frame like object containing the length normalized segments

Arguments

x

data.frame like object that was generated by get_trackdata with the resultType set to either emuRtrackdata or tibble

colNames

character vector containing names of columns to normalize. If not set all data columns are normalized (T1-TN as well as other numeric columns).

N

specify length of normalized segments (each segment in resulting object will consist of N rows).

See Also

emuRtrackdata emuRsegs