ChangeObservationWindow.t: Changes observation window to period between two points in...

Description Usage Arguments Value Author(s) Examples

Description

Observation starts at starttime and ends at endtime.

Usage

1
ChangeObservationWindow.t(Bdata, starttime, endtime,covs.dates)

Arguments

Bdata

Biograph object

starttime

Observation starts at starttime. Time is measured in unit used in Biograph object.

endtime

Observation ends at endtime. Time is measured in unit used in Biograph object.

covs.dates

Covariates having dates

Value

Biograph object with information on new observation window and transitions during the new observation window.

Author(s)

Frans Willekens

Examples

1
2
3
4
 #  The following example defines observation window 
 # as period between Century Month Code (CMC) 500 and CMC 900 (survey = GLHS)
 data (GLHS)
 z <- ChangeObservationWindow.t (GLHS,starttime=500,endtime=800,covs.dates=c("marriage","LMentry"))

Biograph documentation built on May 1, 2019, 8:48 p.m.