| set.class | R Documentation |
Function to overwrite class values for individuals
set.class(
population,
database = NULL,
gen = NULL,
cohorts = NULL,
new.class = 0
)
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) |
Population-List with newly entered class values
data(ex_pop)
population <- set.class(ex_pop, database=cbind(1,1), new.class = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.