lexishelper2: Computes time periods of each subject

Description Usage Arguments Details Value Author(s)

Description

This is an internal function required by the client. function ds.lexis to get the time periods for each subject.

Usage

1
lexishelper2(dt, ids, exits, interval)

Arguments

dt

the dataset that contains the original data.

ids

a string character, the name of column that holds the individuals IDs.

interval

a numeric vector, the sought interval widths.

exists,

a string character, the name of column that holds the exit times.

Details

If the exit time information is missing one single break is returned with the a missing value.

Value

a list which contains the individuals time periods.

Author(s)

Gaye, A.


datashield/dsModelling documentation built on May 14, 2019, 7:51 p.m.