Passer au contenu

This function associate each TNT (Non Treated Treatment) to one block.

Utilisation

block_tnt(self, code_tnt = "TNT")

Arguments

self

an instance of the UserData R6 class containing metadata with plot_desc and moda_desc

code_tnt

string to identify in TNT in the row of the dataframe, by default "TNT"#'

Valeur de retour

a dataframe with plot_id associated with one (or more) tnt_id in the same block

Détails

This function use the plot description, that must have plot_id and block_code given for each plot. Plot description is merged with modality description, assuming that each row that contains the string given by code_TNT ("TNT") is identified as a plot with TNT treatment. The results is stored in self$plot_tnt_association$block_association