diff --git a/R/legTools.R b/R/legTools.R index 5e3842347998eb0b2a244059613b9d5d148db1e5..94bcc1180611e66c28bff04bb88734332aef0b3a 100644 --- a/R/legTools.R +++ b/R/legTools.R @@ -7,14 +7,16 @@ ##' @name legTools NULL +#' @name wgpigs +#' #' @title Feeding type in pig weight gain #' #' @description This is an artifial dataset corresponding a experiment #' to study the effect of feeding type (factor with 4 categorical #' nominal levels) in pig weight gain. The experiment was a randomized #' complete design with five experimental units per treatment level. The -#' experimental unit was a pig. The response measured was weight gain from -#' the beggining to the end of the experiment. +#' experimental unit was a pig. The response measured was weight gain +#' from the beggining to the end of the experiment. #' #' \itemize{ #' \item ft feeding type, a categorical factor with 4 levels. @@ -25,22 +27,20 @@ NULL #' #' @keywords datasets #' -#' @name wgpigs -#' #' @usage data(wgpigs) #' #' @format a \code{data.frame} with 20 records and 2 variables. #' -#' @source Frederico, P. (2009). Curso de EstatÃstica Experimental (15th -#' ed.). Piracicaba, São Paulo: FEALQ. +#' @source Frederico, P. (2009). Curso de Estat{\'i}stica Experimental +#' (15th ed.). Piracicaba, S{\~a}o Paulo: FEALQ. #' #' @examples #' #' require(lattice) +#' data(wgpigs) #' #' xyplot(wg~ft, data=wgpigs, #' ylab="Weight gain (kg)", #' xlab="Feeding type") #' -#' @export NULL diff --git a/man/legTools.Rd b/man/legTools.Rd index 8fe73d17a13e619a61f09a51a241a976df128a96..699e49ba3975570d0e234d3daa179465d391de5f 100644 --- a/man/legTools.Rd +++ b/man/legTools.Rd @@ -1,5 +1,4 @@ % Generated by roxygen2 (4.1.1): do not edit by hand -% Please edit documentation in R/legTools.R \docType{package} \name{legTools} \alias{legTools} diff --git a/man/subsetDropAll.Rd b/man/subsetDropAll.Rd index 6bc8e357ac8d10fcdc84c02f36ad70434a1dde9d..19d5515408f83e8521e1a645559bb9a385b127e0 100644 --- a/man/subsetDropAll.Rd +++ b/man/subsetDropAll.Rd @@ -1,5 +1,4 @@ % Generated by roxygen2 (4.1.1): do not edit by hand -% Please edit documentation in R/subsetDropAll.R \name{subsetDropAll} \alias{subsetDropAll} \title{Drop unused levels after subset} diff --git a/man/wgpigs.Rd b/man/wgpigs.Rd index fa6aa5f680f006a7a121289a7e5f0ec5304d5674..9d75e6aeeab7fa78be3e0dd577d9bc10f18b31f0 100644 --- a/man/wgpigs.Rd +++ b/man/wgpigs.Rd @@ -1,13 +1,12 @@ % Generated by roxygen2 (4.1.1): do not edit by hand -% Please edit documentation in R/legTools.R \docType{data} \name{wgpigs} \alias{wgpigs} \title{Feeding type in pig weight gain} \format{a \code{data.frame} with 20 records and 2 variables.} \source{ -Frederico, P. (2009). Curso de EstatÃstica Experimental (15th -ed.). Piracicaba, São Paulo: FEALQ. +Frederico, P. (2009). Curso de Estat{\'i}stica Experimental +(15th ed.). Piracicaba, S{\~a}o Paulo: FEALQ. } \usage{ data(wgpigs) @@ -17,8 +16,8 @@ This is an artifial dataset corresponding a experiment to study the effect of feeding type (factor with 4 categorical nominal levels) in pig weight gain. The experiment was a randomized complete design with five experimental units per treatment level. The -experimental unit was a pig. The response measured was weight gain from -the beggining to the end of the experiment. +experimental unit was a pig. The response measured was weight gain +from the beggining to the end of the experiment. \itemize{ \item ft feeding type, a categorical factor with 4 levels. @@ -27,6 +26,7 @@ the beggining to the end of the experiment. } \examples{ require(lattice) +data(wgpigs) xyplot(wg~ft, data=wgpigs, ylab="Weight gain (kg)",