repo.nc | R Documentation |
Produces an automatic report for a North Carolina I, II or III genetic design analysis.
repo.nc(
traits,
set,
male,
female,
progeny = NULL,
rep,
model,
dfr,
title = NULL,
subtitle = NULL,
author = "International Potato Center",
format = c("html", "word", "pdf"),
server = FALSE,
server_dir_name = "directory",
server_file_name = "filename"
)
traits |
The traits to analize. |
set |
The set. |
male |
The male. |
female |
The female. |
progeny |
The progeny (only for Carolina I design). |
rep |
The replication. |
model |
1, 2 or 3. |
dfr |
The data frame. |
title |
Report title. |
subtitle |
Report subtitle. |
author |
Report author. |
format |
The output file format for the report, |
server |
Logical. If |
server_dir_name |
If |
server_file_name |
If |
It returns an ANOVA and related quantities.
Raul Eyzaguirre.
library(agricolae)
data(DC)
carolina1 <- DC$carolina1
repo.nc("yield", "set", "male", "female", "progenie", "rep", 1, carolina1)
carolina2 <- DC$carolina2
carolina2 <- carolina2[carolina2$Loc == 1, c(2, 5, 4, 3, 7, 8)]
repo.nc(c("yield", "tuber"), "set", "male", "female", NULL, "rep", 2, carolina2)
carolina3 <- DC$carolina3
repo.nc("yield", "set", "male", "female", NULL, "rep", 3, carolina3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.