Skip to content
Snippets Groups Projects
Commit 906036c5 authored by Walmes Zeviani's avatar Walmes Zeviani
Browse files

Documentation of dataset Pimentel page 91 generated.

parent 5a867aab
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,7 @@ README.md
Rplots.pdf
contributing.md
buildPkg.R
.#buildPkg.R
.gitignore
.Rprofile
^\.travis\.yml$
......
......@@ -32,7 +32,7 @@ NULL
#' @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.
#' (15th ed.). Piracicaba, São Paulo: FEALQ. (page 62)
#'
#' @examples
#'
......@@ -81,3 +81,42 @@ NULL
#' xlab="Variety")
#'
NULL
#' @name plowing
#'
#' @title Plowing level on corn yield
#'
#' @description These data are from an experiment done by the engineer
#' Duvilio Ometto to study the effect of plowing level on corn yield. It
#' was used 2 levels of plowing: normal (or superficial) and deep. The
#' experiment was done in a randomized complete block design with 6
#' blocks. Corn yield (t ha^{-1}) was recorded in each experimental unit
#' but in this experiment there was 2 experimental units for each factor
#' level in each block.
#'
#' \itemize{
#' \item block a categorical unordered factor with 6 levels.
#' \item plow a categorical unordered factor with 2 levels.
#' \item yield corn yield (kg in 200 m^{2} of area).
#' }
#'
#' @docType data
#'
#' @keywords datasets
#'
#' @usage data(plowing)
#'
#' @format a \code{data.frame} with 24 records and 3 variables.
#'
#' @source Frederico, P. (2009). Curso de Estatística Experimental
#' (15th ed.). Piracicaba, São Paulo: FEALQ. (page 91)
#'
#' @examples
#' require(lattice)
#' data(potatoyield)
#'
#' xyplot(yield~plow|block, data=plowing, type=c("p", "a"),
#' ylab=expression(Yield~(t~ha^{-1})),
#' xlab="Plowing level")
#'
NULL
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/legTools.R
\docType{data}
\name{plowing}
\alias{plowing}
\title{Plowing level on corn yield}
\format{a \code{data.frame} with 24 records and 3 variables.}
\source{
Frederico, P. (2009). Curso de Estatística Experimental
(15th ed.). Piracicaba, São Paulo: FEALQ. (page 91)
}
\usage{
data(plowing)
}
\description{
These data are from an experiment done by the engineer
Duvilio Ometto to study the effect of plowing level on corn yield. It
was used 2 levels of plowing: normal (or superficial) and deep. The
experiment was done in a randomized complete block design with 6
blocks. Corn yield (t ha^{-1}) was recorded in each experimental unit
but in this experiment there was 2 experimental units for each factor
level in each block.
\itemize{
\item block a categorical unordered factor with 6 levels.
\item plow a categorical unordered factor with 2 levels.
\item yield corn yield (kg in 200 m^{2} of area).
}
}
\examples{
require(lattice)
data(potatoyield)
xyplot(yield~plow|block, data=plowing, type=c("p", "a"),
ylab=expression(Yield~(t~ha^{-1})),
xlab="Plowing level")
}
\keyword{datasets}
......@@ -7,7 +7,7 @@
\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.
(15th ed.). Piracicaba, São Paulo: FEALQ. (page 62)
}
\usage{
data(wgpigs)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment