random_mutation: Draw 'nb_mut' mutation(s) effect(s) on phenotype of 'n'...

Description Usage Arguments Value

View source: R/generate_random_mutation.R

Description

Draw nb_mut mutation(s) effect(s) on phenotype of n dimensions

Usage

1
random_mutation(n, nb_mut, lambda)

Arguments

n

A natural number. Number of dimensions of the phenotypic space in which the random mutations are drawn.

nb_mut

A natural number. Number of mutations in the output.

lambda

A positive real number. Variance of the effect of mutations on phenotype per phenotypic dimension.

Value

A matrix of nb_mut rows and n columns.


YoannAnciaux/inferenceFitnessLandscape documentation built on Oct. 31, 2019, 1:19 a.m.