kendler {LTFGRS} | R Documentation |
Title Kendler's FGRS
Description
Title Kendler's FGRS
Usage
kendler(
.tbl = NULL,
family_graphs = NULL,
family_graphs_col = "fam_graph",
pid = "pid",
fid = "fid",
role = NULL,
dadcol,
momcol,
env_cor_sib = 1,
env_cor_f = 1,
env_cor_m = 1
)
Arguments
.tbl |
A matrix, list or data frame that can be converted into a tibble.
Must have at least five columns that hold the family identifier, the personal
identifier, the role and the lower and upper thresholds. Note that the
role must be one of the following abbreviations
- |
family_graphs |
A tibble with columns pid and family_graph_col. See prepare_graph for construction of the graphs. The family graphs Defaults to NULL. |
family_graphs_col |
Name of column with family graphs in family_graphs. Defaults to "fam_graph". |
pid |
A string holding the name of the column in |
fid |
A string holding the name of the column in |
role |
A string holding the name of the column in |
dadcol |
column name of father in family_graphs or .tbl. |
momcol |
column name of mother in family_graphs or .tbl. |
env_cor_sib |
Cohabitation effect, i.e. Factor by which the siblings are weighted. Defaults to 1. |
env_cor_f |
Cohabitation effect, i.e. Factor by which the father is weighted. Defaults to 1. |
env_cor_m |
Cohabitation effect, i.e. Factor by which the mother is weighted. Defaults to 1. |
Value
A tibble with summary values used to calculate the kendler FGRS and the FGRS itself.
Examples
# See Vignettes.