apply_mutations: Apply random mutations to a community

View source: R/apply_mutations.R

apply_mutationsR Documentation

Apply random mutations to a community

Description

The trait value of each individual in the input community is modified by a mutation sampled in a normal distribution of mean 0 and standard deviation mutation_sd.

Usage

apply_mutations(traits_comm, mutation_sd = default_mutation_sd())

Arguments

traits_comm

trait values of individuals in the community

mutation_sd

numeric ⁠>= 0⁠, the standard deviation of the normal distribution from which mutations are drawn.

Author(s)

Theo Pannetier


TheoPannetier/comrad documentation built on April 8, 2023, 8:06 a.m.