getTidyForm: Matrix format to Tidy data format

Description Usage Arguments Value Examples

Description

Matrix format to Tidy data format

Usage

1
getTidyForm(Matrix_DataSet, onlyTrait = FALSE)

Arguments

Matrix_DataSet

A data.frame object with the response values divided in n environments or traits columns

onlyTrait

logical by default is FALSE, if is TRUE only is considered the $Trait column.

Value

A data.frame object with the $Response divided by $Traits columns.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## Not run: 
  data('Wheat_IBCF')
  M <- getMatrixForm(Wheat_IBCF)
  Tidy <- getTidyForm(M)

## End(Not run)

## Not run: 
  data('Year_IBCF')
  M.Y <- getMatrixForm(Year_IBCF, onlyTrait = T)
  Tidy.Y <- getTidyForm(M.Y, onlyTrait = T)

## End(Not run)

frahik/IBCF.MTME documentation built on May 22, 2019, 2:39 p.m.