From 0d1a274d919036089596c55cf9ee272fdde577f6 Mon Sep 17 00:00:00 2001 From: Fernando Mayer <fernandomayer@gmail.com> Date: Mon, 24 Aug 2015 20:22:16 -0300 Subject: [PATCH] fix some minor typos on docs --- R/polyGui.R | 4 ++-- R/twoStripCombined.R | 9 +++++---- buildPkg.R | 2 +- man/polyGui.Rd | 4 ++-- man/twoStripCombined.Rd | 9 +++++---- 5 files changed, 15 insertions(+), 13 deletions(-) diff --git a/R/polyGui.R b/R/polyGui.R index d9c9c3a..ba5f4e5 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 39774ae..7af9fd7 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 7c31438..035f702 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 2d4a4ef..9705926 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 3746312..3079f86 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")) -- GitLab