format_data_PPBstats.data_agro_SR: Check and format the data to be used by PPBstats functions...

Description Usage Arguments Details Author(s) See Also

View source: R/format_data_PPBstats.data_agro_SR.R

Description

format_data_PPBstats.data_agro_SR checks and formats the data to be used by PPBstats functions for agro SR to study response to selection

Usage

1

Arguments

data

The data frame to format. It should have at least the following columns : c("year", "germplasm", "location", "block", "X", "Y", "expe_id", "group", "version", "..."), with "..." the variables. The variables can be linked to their corresponding dates. The dates are associated to their corresponding variable by $. For example the date associated to variable y1 is y1$date. The date must have format year-month-day, e.g. 2017-12-05

Details

expe_id is useful for example if there are several selection in one germplasm or if there are several origin for a given germplasm

More details explaining these two particular cases can be found in the book here.

Author(s)

Pierre Riviere

See Also

format_data_PPBstats


priviere/PPBstats documentation built on May 6, 2021, 1:20 a.m.