diff --git a/R/polyGui.R b/R/polyGui.R index d9c9c3a2db01004f155290649ece8ddd0fac7a19..ba5f4e52c4f1cd9c7a2fa544b1f9fe0f7c1b46c6 100644 --- a/R/polyGui.R +++ b/R/polyGui.R @@ -2,10 +2,10 @@ #' #' @name polyGui #' -#' @description This function opens a interface to control the +#' @description This function opens an interface to control the #' polynomial degree in linear regression. It shows the observed values #' and the corresponding fitted curve superimposed with confidence bands -#' (for the fitted value) and show the residuals plot too. It assumes +#' (for the fitted values) and also show the residuals plot. It assumes #' that \code{gWidgets} and \code{gWidgetstcltk} packages are available. #' #' @param x,y independent and dependent (numeric) regression variables. diff --git a/R/twoStripCombined.R b/R/twoStripCombined.R index 39774ae12b22ee31e3a658b3d7b991f067c8709b..7af9fd7219db8e2436fb574e16cd838294fc1db2 100644 --- a/R/twoStripCombined.R +++ b/R/twoStripCombined.R @@ -1,9 +1,10 @@ -#' @title Combine two strips in one to save space +#' @title Combine two (lattice) strips in one to save space #' #' @name twoStripCombined #' -#' @description this function allow combine tow strips in one to save -#' space. It was designed to be used with two conditioning variables. +#' @description This function allows combining two strips in one to save +#' space in lattice graphics. It was designed to be used with two +#' conditioning variables. #' #' @param textPos position of the strip annotation. The \code{"border"} #' value indicates that the first conditioning variable is to be aligned @@ -26,7 +27,7 @@ #' #' @examples #' -#' require(lattice) +#' library(lattice) #' #' xyplot(yield~K|N+P, data=npk, type=c("p","a")) #' diff --git a/buildPkg.R b/buildPkg.R index 7c3143862fe504461e3cb4b9903b461d9e282fc7..035f702ba4eadd5724d7a9e99efb77ab7358adb0 100644 --- a/buildPkg.R +++ b/buildPkg.R @@ -19,7 +19,7 @@ check_doc() ## Check functions, datasets, run examples, etc. Using cleanup = FALSE ## and check_dir = "../" will create a directory named legTools.Rcheck -## with all the logs, manuals, figures from exemples, etc. +## with all the logs, manuals, figures from examples, etc. check(cleanup = FALSE, manual = TRUE, vignettes = FALSE, check_dir = "../") diff --git a/man/polyGui.Rd b/man/polyGui.Rd index 2d4a4ef9ba8ab56f6b74596edbb670382d8b5602..97059264fee1f8bb3e127459178b246cbbeca8ae 100644 --- a/man/polyGui.Rd +++ b/man/polyGui.Rd @@ -19,10 +19,10 @@ range by a fraction on both sides and directions. Default is None is returned by the function. } \description{ -This function opens a interface to control the +This function opens an interface to control the polynomial degree in linear regression. It shows the observed values and the corresponding fitted curve superimposed with confidence bands -(for the fitted value) and show the residuals plot too. It assumes +(for the fitted values) and also show the residuals plot. It assumes that \code{gWidgets} and \code{gWidgetstcltk} packages are available. } \examples{ diff --git a/man/twoStripCombined.Rd b/man/twoStripCombined.Rd index 3746312e3c4f0b5fbf2a817e7a29a6e0efca00e1..3079f8671eafc03c03188938bd886d305b9894a7 100644 --- a/man/twoStripCombined.Rd +++ b/man/twoStripCombined.Rd @@ -2,7 +2,7 @@ % Please edit documentation in R/twoStripCombined.R \name{twoStripCombined} \alias{twoStripCombined} -\title{Combine two strips in one to save space} +\title{Combine two (lattice) strips in one to save space} \usage{ twoStripCombined(textPos = c("border", "center"), sep = ": ", invert = TRUE, which.given, which.panel, factor.levels, var.name, @@ -24,11 +24,12 @@ placed on left strip side.} \item{which.given,which.panel,factor.levels,var.name,strip.names,bg,...}{arguments of \link[lattice]{strip.default}.} } \description{ -this function allow combine tow strips in one to save -space. It was designed to be used with two conditioning variables. +This function allows combining two strips in one to save +space in lattice graphics. It was designed to be used with two +conditioning variables. } \examples{ -require(lattice) +library(lattice) xyplot(yield~K|N+P, data=npk, type=c("p","a"))