creating.phenotypic.transform {MoBPS} | R Documentation |
Create a phenotypic transformation
Description
Function to perform create a transformation of phenotypes
Usage
creating.phenotypic.transform(
population,
phenotypic.transform.function = NULL,
trait = 1
)
Arguments
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) |
Value
Population-list with a new phenotypic transformation function
[Package MoBPS version 1.6.64 Index]