rend_ind | R Documentation |
Calculating the Hulling Index and Industrial Yield of White Oats
rend_ind(GEN, NG2M, MG, MC, RG, stat = "all", verbose = FALSE, ...)
GEN |
The column with the name of the genotypes. |
NG2M |
The column with values for the number of grains larger than 2mm. |
MG |
The column with grain mass values. |
MC |
The column with karyopsis mass values. |
RG |
The column with the grain yield values (kg per ha). |
stat |
Logical argument. Use 'all' to keep all the observations or 'mean' to extract the overall average. |
verbose |
Logical argument. Runs the code silently if FALSE. |
... |
General parameters of ggplot2 for utilization |
Returns the peeling index and industrial yield considering the standards desired by the industry.
Willyan Junior Adorian Bandeira
Ivan Ricardo Carvalho
Murilo Vieira Loro
Leonardo Cesar Pradebon
Jose Antonio Gonzalez da Silva
library(EstimateBreed)
data("aveia")
# Calculate the industrial yield without extracting the average
with(aveia, rend_ind(GEN,NG2M,MG,MC,RG))
# Calculate the industrial yield by extracting the average per genotype
with(aveia, rend_ind(GEN,NG2M,MG,MC,RG,stat="mean"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.