set.default {MoBPS}R Documentation

Set defaults

Description

Set default parameter values in breeding.diploid

Usage

set.default(
  population,
  parameter.name = NULL,
  parameter.value = NULL,
  parameter.remove = NULL,
  reset.all = FALSE
)

Arguments

population

Population list

parameter.name

Number of traits (If more than traits via real.bv.X use traits with no directly underlying QTL)

parameter.value

Genetic variance of traits with no underlying QTL

parameter.remove

Remove a specific previously generated parameter default

reset.all

Set to TRUE to remove all prior parameter values

Value

Population-list with one or more additional new traits

Examples

data(ex_pop)
population <- set.default(ex_pop, parameter.name="heritability", parameter.value=0.3)

[Package MoBPS version 1.6.64 Index]