powered by
This function computes canopy temperature depression (CTD). For more details see Watson (1958) doi:10.1093/oxfordjournals.aob.a083596.
ctd(Gen, amb.temp, CT_PI)
A list of output columns:
Gen: Character vector of genotype IDs.
Gen
CTD: Canopy temperature depression (CTD) values for respective genotypes.
CTD
Character vector of genotype IDs.
Numeric scalar; ambient temperature (°C) (user must define this input).
Numeric vector; canopy temperature (°C) at phase I (PI).
Watson, D.J. (1958). doi:10.1093/oxfordjournals.aob.a083596.
# Creating a sample dataset df <- data.frame( Gen = c("V1","V2","V3"), CT_PI = c(26.7,31.4,28.4) ) ctd(df$Gen, amb.temp = 34.2, CT_PI = df$CT_PI)
Run the code above in your browser using DataLab