R/kin_multi_stage_time_variant_2sex.R
create_full_dists_df.Rd
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
)
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)
list of characters. Corresponding to above lists: list("F","m",....)
vector. The timescale on which we implement the kinship model.
. First year of varying vital rates (e.g., if years = 1990:2000 then start_year = 1990)
numeric. Number of ages.
numeric. Number of stages.
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