format.data: Format data from 'get.data' to be used by several R packages

Description Usage Arguments Details Value See Also Examples

View source: R/format.data.R

Description

Format data from get.data to be used by several R packages

Usage

1
2
3
## S3 method for class 'data'
format(data, data.on = "son", fuse_g_and_s = FALSE,
  correlated_group = NULL, format = "PPBstats")

Arguments

data

output from the get.data function

data.on

"son" or "father" depending on which seed-lots you want the information.

fuse_g_and_s

Fuse germplasm and selection name information in a column named germplasm

correlated_group

Name of the group of correlation in data. NULL by default meaning that all the data are taken.

format

the format you want. It is under the form "name_of_the_package" or "name_of_the_package::name_of_the_function" if there are several formats within a package. Possible values are "PPBstats".

Details

Value

The data set with the right format for the R package

See Also

get.data, is.get.data.output

Examples

1
# See the vignette

priviere/shinemas2R documentation built on Oct. 17, 2017, 11:24 a.m.