fixation_time1: Fixation Time to 1 in Wright-Fisher Model with selection

View source: R/fixationTime.R

fixation_time1R Documentation

Fixation Time to 1 in Wright-Fisher Model with selection

Description

This function computes the expected time to fixation conditional to a fixation to 1 for a given initial probability and fixed selection coefficient alpha

Usage

fixation_time1(N, alpha, p)

Arguments

N

Number of alleles in the considered population (population size)

alpha

Selection coefficient

p

Vector or initial probabilities (values between 0 and 1)

Value

the time to fixation to 1


vrunge/WrightFisherSelection documentation built on April 25, 2022, 10:34 a.m.