View source: R/kin_multi_stage_time_variant_2sex.R
create_full_dists_df | R Documentation |
Title joint age*stage distributions of kin by each age of Focal, for each time period, and cohort of birth
create_full_dists_df(
kin_matrix_lists,
kin_names,
years,
start_year,
na,
ns,
specific_kin = NULL
)
kin_matrix_lists |
list of lists of kin matrices: list( list(X_focal), list(X_parents), ... ). Outer list is length 14 = number of kin. Inner lists have lenght = timescale so list(X_focal) = list(X_focalyear1,X_focalyear2,...,X_focalyearlast) |
kin_names |
list of characters. Corresponding to above lists: list("F","m",....) |
years |
vector. The timescale on which we implement the kinship model. |
start_year |
. First year of varying vital rates (e.g., if years = 1990:2000 then start_year = 1990) |
na |
numeric. Number of ages. |
ns |
numeric. Number of stages. |
specific_kin |
character. names of kin we wish to analyse, e.g., list("os","ys"). If null returns all 14. |
A data frame which gives for each age of Focal at each year in the timescale, the full age*stage dist of kin
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.