From 2718d728c3c7a60bface3d6eb5e66772349a76f3 Mon Sep 17 00:00:00 2001 From: DidierMurilloF Date: Tue, 23 Jul 2024 10:01:23 -0500 Subject: [PATCH] Update S3 print method for row-column design --- R/utils_S3_methods.R | 4 ++-- man/row_column.Rd | 13 ++++++++----- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/R/utils_S3_methods.R b/R/utils_S3_methods.R index b1b4224..d09d9a8 100644 --- a/R/utils_S3_methods.R +++ b/R/utils_S3_methods.R @@ -157,9 +157,9 @@ print.FielDHub <- function(x, n=10, ...){ "\n") print(head(x$fieldBook, n=nhead_print, ...)) } else if (x$infoDesign$id_design == 9) { - cat("Row Column Design", "\n\n") + cat("Resolvable Row-Column Design (Two Stage Generation)", "\n\n") #--------------------------------------------------------------------- - cat("First location efficiency of design:", "\n") + cat("Efficiency of design:", "\n") print(x$blocksModel[[1]]) cat("\n") cat("Information on the design parameters:", "\n") diff --git a/man/row_column.Rd b/man/row_column.Rd index cdec423..d8908c2 100644 --- a/man/row_column.Rd +++ b/man/row_column.Rd @@ -25,13 +25,16 @@ row_column( \item{l}{Number of locations. By default \code{l = 1}.} -\item{plotNumber}{Numeric vector with the starting plot number for each location. By default \code{plotNumber = 101}.} +\item{plotNumber}{Numeric vector with the starting plot number for each +location. By default \code{plotNumber = 101}.} \item{locationNames}{(optional) Names for each location.} -\item{seed}{(optional) Real number that specifies the starting seed to obtain reproducible designs.} +\item{seed}{(optional) Real number that specifies the starting seed to obtain +reproducible designs.} -\item{iterations}{Number of iterations for design optimization. By default \code{iterations = 1000}.} +\item{iterations}{Number of iterations for design optimization. By +default \code{iterations = 1000}.} \item{data}{(optional) Data frame with label list of treatments} } @@ -98,8 +101,8 @@ head(rowcold2$fieldBook,12) } \references{ -Edmondson., R. N. (2021). blocksdesign: Nested and crossed block designs for factorial and -unstructured treatment sets. https://CRAN.R-project.org/package=blocksdesign +Edmondson., R. N. (2021). blocksdesign: Nested and crossed block designs for +factorial and unstructured treatment sets. https://CRAN.R-project.org/package=blocksdesign } \author{ Didier Murillo [aut],