Learn R Programming

AlphaSimR (version 0.10.0)

SimParam_manAddTrait: Manually add trait

Description

Add a new trait to the simulation.

Arguments

lociMap

a new object descended from LociMap-class

varA

the value for varA in the base population, optional

varG

the value for varG in the base population, optional

varE

default error variance for phenotype, optional

force

should the check for a running simulation be ignored. Only set to TRUE if you know what you are doing

Usage

SP$manAddTrait(lociMap, varA = NA_real_, varG = NA_real_, varE = NA_real_, force = FALSE)