set.class {MoBPS}R Documentation

Export estimated breeding values

Description

Function to export estimated breeding values

Usage

set.class(
  population,
  database = NULL,
  gen = NULL,
  cohorts = NULL,
  new.class = 0
)

Arguments

population

Population list

database

Groups of individuals to consider for the export

gen

Quick-insert for database (vector of all generations to export)

cohorts

Quick-insert for database (vector of names of cohorts to export)

new.class

Class to change to (either single character or vector for each individual when just a single group is selected)

Value

Population-List with newly entered class values

Examples

data(ex_pop)
population <- set.class(ex_pop, database=cbind(1,1), new.class = 2)

[Package MoBPS version 1.6.64 Index]