Learn R Programming

Biograph (version 2.0.6)

Explore Life Histories

Description

Transition rates are computed from transitions and exposures.Useful graphics and life-course indicators are computed. The package structures the data for multistate statistical and demographic modeling of life histories.

Copy Link

Version

Install

install.packages('Biograph')

Monthly Downloads

56

Version

2.0.6

License

GPL-2

Maintainer

Frans Willekens

Last Published

March 31st, 2016

Functions in Biograph (2.0.6)

Cumrates

Estimates cumulative transition rates
Trans

Transitions by age
Date_as_year

Converts a vector of dates (class 'Date') to decimal year (calendar year and fraction of year).
NLOG98

NLOG98 Netherlands Family and Fertility Survey 1998
Sequences

Lists state sequences in the data
date_convert

Converts vector of dates from one format to another
GLHS

GLHS data
plot.cumrates

Plots cumulative transition rates
Parameters

Life history parameters from data
OverviewEpisodes

Overview of episodes
date_b

Converts dates in a Biograph object to dates in another format
Lexis.lines

Draws Lexis diagram with lifelines for selected subjects
TransitionAB

Occurrences of selected transition by age
MSLT

Multistate life table: survival function and exposure function
AgeTrans

Ages at transition
check.par

Checks major characteristics of Biograph object
Biograph.msm

Biograph to msm format
year_as_age

Converts decinal years to age.
RateTable

Table for rate calculation
stringf

Converts character string to vector
StateSpace

Get state space
cmc_as_Date

Converts a vector of dates in Century Month Code (CMC) to object of class 'Date'.
plot.MSLT.S

Plots survival function.
state_time

Determines individual state occupation times
ChangeObservationWindow.t

Changes observation window to period between two points in time
cmc_as_year

Converts date in Century Month Code (CMC) to date in calendar year and fraction of year.
Biograph.Lexis

Converts Biograph object to Lexis object of class "Lexis"
Date_as_age

Converts a vector of dates (class 'Date') to ages.
Date_as_cmc

Converts a vector of dates (class 'Date') to Century Month Codes.
Lexispoints

Plot event dates and ages in Lexis diagram
OverviewTransitions

Overview of transitions
transitions

Generate flow table
pos.charstr

Position of a character string in a string variable
Occup

State occupancies and sojourn times
Remove.intrastate

Removes intrastate transitions from Biograph object
year_as_Date

Converts a vector of dates in decimal years (calendar years and fractions of year) to object of class 'Date'.
Lexislines.episodes

Draws Lexis diagram with lifelines for selected subjects
locpath

Determines location of state sequence in Biograph object
GLHS.IllnessDeath

Illness-death model for job transitions
SamplePath

Obtains samplepath for selected subjects
Sequences.ind

Individual state trajectories
state_age

Determines for given individuals state occupied at given ages
Sequences.ind.0

Sorts dates in ascending order and generates state sequence (path).
Biograph-package

Explore life histories (biographies, lifepaths)
rrdat

The Blossfeld-Rohwer subsample of the German Life History Survey (GLHS)
string.blank.omit

Removes blanks in character string, including the leading and trailing white space.
Lexis.points

Plots ages and calendar years at transitions in Lexis diagram
YearTrans

Converts dates at transition to years at transition
pos.char

Position of a given character in a string variable (first match)
age_as_Date

Converts a vector of ages to object of class 'Date'.
LexisOccExp

Displays occurrences, exposures and transition rates in a Lexis diagram
GLHS.trans

Transition matrix of illness-death model (tmat)
Biograph.mstate

Converts Biograph object to mstate object of class "msdata"
age_as_year

Converts a vector of ages to decimal year (calendar year and fraction of year).
Rates.ac

Estimates occurrence-exposure rates
plot.occup.S

Plots state occupancies
Biograph.long

Converts Biograph object to long format
Biograph.mvna

Converts Biograph object to input data for mvna package
cmc_as_age

Converts date in Century Month Code (CMC) to age.
year_as_cmc

Converts decinal years to cmc.
ChangeObservationWindow.e

Changes observation window to period between two transitions