Learn R Programming

ccChooser (version 0.2.6)

randomcc: Random selection of core collections

Description

This function developing core collection use random sampling methods.

Usage

randomcc(x, fraction = 0.1)

Arguments

x
data frame including value of quantitaive traits (phenotypic data)
fraction
defining size of core collections, as fraction of accesions from entire collection

Value

Return a data frame including selected to core collection acessions

References

For information about the random method used to developing core collection, see:

van Hintum Th., Brown A., Spillane C., Hodgkin T. 2000. Core collections of plant genetic resources. IPGRI Technical Bulletin No. 3. IPGRI, Rome

Examples

Run this code
data(dactylis_EC)
randomcc(dactylis_EC)
randomcc(dactylis_EC, fraction = 0.2)

Run the code above in your browser using DataLab