creating.phenotypic.transform {MoBPS} | R Documentation |
Function to perform create a transformation of phenotypes
creating.phenotypic.transform(
population,
phenotypic.transform.function = NULL,
trait = 1
)
population |
Population list |
phenotypic.transform.function |
Phenotypic transformation to apply |
trait |
Trait for which a transformation is to be applied data(ex_pop) trafo <- function(x) return(x^2) ex_pop <- creating.phenotypic.transform(ex_pop, phenotypic.transform.function=trafo) |
Population-list with a new phenotypic transformation function