Learn R Programming

AlphaSimR (version 1.5.3)

setMisc: Set miscelaneous information in a population

Description

Set miscelaneous information in a population

Usage

setMisc(x, node = NULL, value = NULL)

Value

Pop-class

Arguments

x

Pop-class

node

character, name of the node to set within the x@misc slot

value,

value to be saved into x@misc[[*]][[node]]; length of value should be equal to nInd(x); if its length is 1, then it is repeated using rep (see examples)

Details

A NULL in value is ignored