Description Usage Arguments Examples
This function returns an array for event data in the form date, id, location, special, status. Here, gemini births count as one single event (see get_evmat_twins() for including the birth of twins as multiple events).
1 2 3 |
df_ev |
A dataframe in long format containing individual events |
vars |
A list of variables for chronological date, ID related to event, location, special, status, and type of event) |
events |
A list of labels used in |
censored |
A logical indicator, whether censored dates should be included (Default is FALSE) |
1 2 3 4 5 6 | ## Not run:
df_ind <- get_exmpl_df()
df_fam <- data.frame(idf = c(0,unique(df_ind$momid[df_ind$momid>0])), fall = "C")
evmat <- get_evmat(df_ind, df_fam)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.