bfspell | R Documentation |
First 20 sequences of the biofam
data set in SPELL form. The data serve to illustrate the use of seqformat
for converting SPELL data into STS (horizontal) form.
data(bfspell)
A data set with two data frames: bfspell20
with one row per spell and bfpdata20
with one row per id. The bfspell20
data frame contains the spell data themselves (4 variables id
, begin
, end
, states
) and bfpdata20
the year when aged 15 (2 variables id
, when15
).
The states are coded with the following short labels
P = "Parent"
L = "Left"
M = "Married"
LM = "Left+Marr"
C = "Child"
LC = "Left+Child"
LMC = "Left+Marr+Child"
D = "Divorced"
The data is a SPELL representation of biofam[1:20,10:25]
, corresponding to 20 family life sequences between ages 15 and 30.
biofam
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.