
data( "wheatChl") wheatTD <- createTD( data = wheatChl, genotype = "trt", repId = "rep", subBlock = "bl", rowCoord = "row", colCoord = "col") # Create a TD object containing the data from Santa Rosa. This function works in exactly the same way as createTD except that it adds data to an existing TD object instead of creating a new one.ĭropping one or more trials from a TD object can be done using the function dropTD. However if the data consists of multiple trials it is more convenient to first create a TD object without meta data and then add meta data using the getMeta and setMeta functions (see 2.3).Īfter creating a TD object, data for new trials can be added to it using addTD. Meta data can be added when creating the TD object using the appropriate parameters in createTD (see 2.4). However the meta data is used when plotting field layouts, plotting trials on a map and naming plots.

None of these are strictly neccessary for any analysis and meta data can therefore be safely ignored.
#Example split split plot asreml heritabilities trial
It consists of location, date of the experiment, longitude, latitude, trial design, plot width and plot length. This meta data is used to store background information about the trials. If there is only one trial or no column trial is defined, the output will be a list with only one item. A TD object is a list of ames where each ame contains the data for a single trial.

Split the data into separate ames by trial.

For example, the column “genotype” is converted to a factor and “rowCoord” to a numeric column.
