Description Usage Arguments Details Value Author(s) References See Also Examples
Fit linear and logistic trends to G-BLUEs time series.
1 |
data |
|
linear |
|
logistic |
|
The function fit a linear and/ or a logistic function to the genotype
best linear unbiased estimates time series obtained with the function
SpaTemHTP_proc
. The logistic function is fitted using
the function drm from package drc.
Return:
lin_res |
|
lin_R2 |
|
log_res |
|
log_R2 |
|
log_val |
|
Soumyashree Kar, Vincent Garin
Ritz, C., Baty, F., Streibig, J. C., Gerhard, D. (2015) Dose-Response Analysis Using R PLOS ONE, 10(12), e0146021
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | data(SG_PH_data)
SG_PH_data$col_f <- factor(SG_PH_data$col)
SG_PH_data$row_f <- factor(SG_PH_data$row)
SG_PH_data$rep <- factor(SG_PH_data$rep)
SG_PH_data$block <- factor(SG_PH_data$block)
exp_des_data = SG_PH_data[, c("row", "col", "row_f", "col_f","genotype",
"rep", "block")]
## Not run:
G_BLUEs <- SpaTemHTP_proc(exp_des_data, pheno_data = SG_PH_data[, 6:8],
out_det = TRUE, miss_imp = TRUE, sp_adj = TRUE,
random = ~ rep + rep:block + row_f + col_f,
plot = TRUE)
G_TS_trend <- TS_trend(G_BLUEs)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.