repo.strd | R Documentation |
Produces an automatic report for selected traits in an experiment with a strip plot design.
repo.strd(
traits,
rowf,
colf,
rep,
dfr,
title = "Automatic report for a strip plot design",
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. |
rowf |
The row factor. |
colf |
The column factor. |
rep |
The replications. |
dfr |
The name of 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 fits a linear model for a strip plot design and explains the results.
It returns an explanation about the strip plot design fitted model.
Raul Eyzaguirre.
# Create design
rowf <- paste0("rf", 1:3)
colf <- paste0("cf", 1:4)
design <- cr.strd(rowf, colf, 3)$book
# Some random data
design$yield <- rnorm(36, 10)
repo.strd("yield", "A", "B", "block", design)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.