Learn R Programming

kindisperse (version 0.10.2)

axials_add: Add axial distributions

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

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

Run this code
# NOT RUN {
fullsibs_ax <- 5
parent_offspring_ax <- 25
cousin_ax <- axials_add(c(fullsibs_ax, parent_offspring_ax))
# }

Run the code above in your browser using DataLab