axials_add: Add axial distributions

Description Usage Arguments Value See Also Examples

View source: R/axial_helper_functions.R

Description

Add axial distributions. Useful to construct an overall distribution that results from multiple 'draws' from smaller distributions. E.g. The pathway between first cousins which can be found by adding each of the component distributions of their respective lifespans along with the relevant offspring producing (e.g. oviposition) of the parent.

Usage

1
axials_add(axvals)

Arguments

axvals

numeric. vector of axial distribution values from different kernels that are to be added.

Value

numeric Returns the axial value that results from adding the input axial values under an additive variance framework.

See Also

Other axial_helpers: axials_decompose(), axials_subtract(), axials(), axpermute_subtract(), axpermute()

Examples

1
2
3
fullsibs_ax <- 5
parent_offspring_ax <- 25
cousin_ax <- axials_add(c(fullsibs_ax, parent_offspring_ax))

kindisperse documentation built on July 28, 2021, 5:09 p.m.