get_gradient_burnin: Burn-in selection gradient

View source: R/get_gradient_burnin.R

get_gradient_burninR Documentation

Burn-in selection gradient

Description

Computes the selection gradient during the burn-in period given parameter values.

Usage

get_gradient_burnin(xres, pars)

Arguments

xres

The resident trait value

pars

An unevaluated parameter-list (e.g. as returned by get_default_pars)

Details

The functions uses find_equilibrium_burnin to compute the equilibrium population size given the resident trait value, which is needed to compute the gradient.

Value

The selection gradient

See Also

find_equilibrium_burnin

Examples


pars <- get_default_pars()
get_gradient_burnin(0, pars)


rscherrer/speciomx documentation built on March 28, 2023, 8:49 p.m.