Function to perform create a transformation of phenotypes
creating.phenotypic.transform(
population,
phenotypic.transform.function = NULL,
trait = 1
)
Population list
Phenotypic transformation to apply
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