From c47a83f97e9eb10f1defe01888d895782cb3dbdd Mon Sep 17 00:00:00 2001
From: Walmes Zeviani <walmes@ufpr.br>
Date: Tue, 6 Oct 2015 22:28:24 -0300
Subject: [PATCH] Includes RData files and correspongin Rd files.

---
 data/castorbeansYield.RData | Bin 0 -> 537 bytes
 data/peanutYield.RData      | Bin 0 -> 455 bytes
 data/peanutYield2.RData     | Bin 0 -> 397 bytes
 data/potatoYield2.RData     | Bin 0 -> 599 bytes
 man/castorbeansYield.Rd     |  61 +++++++++++++++++++++++++++++++++
 man/peanutYield.Rd          |  63 ++++++++++++++++++++++++++++++++++
 man/peanutYield2.Rd         |  60 +++++++++++++++++++++++++++++++++
 man/potatoYield2.Rd         |  65 ++++++++++++++++++++++++++++++++++++
 8 files changed, 249 insertions(+)
 create mode 100644 data/castorbeansYield.RData
 create mode 100644 data/peanutYield.RData
 create mode 100644 data/peanutYield2.RData
 create mode 100644 data/potatoYield2.RData
 create mode 100644 man/castorbeansYield.Rd
 create mode 100644 man/peanutYield.Rd
 create mode 100644 man/peanutYield2.Rd
 create mode 100644 man/potatoYield2.Rd

diff --git a/data/castorbeansYield.RData b/data/castorbeansYield.RData
new file mode 100644
index 0000000000000000000000000000000000000000..837859cd8adc9ee3311821360b82942865d35f22
GIT binary patch
literal 537
zcmb2|=3oE==Cf10v#$h*9ACfl<Q2&pkvqFiux~i*6P;Bswe{VyfMrULKbaMGH=c1Z
zUKmvnxR9Hhbz@fU>&1O{Jv1-%2dv<pUdOobQP>8KChkE0qJI<5EGRK+VotC7ey4h#
zx%$fZoStb?s){X&OA<MpFI_Tu@qUJZ>qLt;EB$2LjH9+%hu6xQv`$FRn9uXn^N~l^
z>>takpQyID1}R7?S^5S2`JYo&rNdI?$3Az-?JrZx&uV|0F?ntFw+hkh)oJ1CbLJG)
zDXo9vC$oH3xZCGb5>pgEX@+Y}-8V@`KVa^fMfXe3Y4y)zU0e6%?!Uk!9)%(XLw14J
z8J<z5b&ISoiBEdxcm1#ATle453vESTTDV+3s=5CzkMh-^o4P)2aW6D0MD>1K-MfD*
zGBavxa_aTJ5rtwiQ-3~|?Fv3AyGy&=^;5C@oP>M3*=qT167K!y`zuy4ZRaDS@cV|>
z_ZiODGm_uS`fz{M+@Bw0iuWF@`NLMHFYsKrq@Z@r&n3s+)G;bQJAM6(uk^RwC!RN~
zNPcVfN%mV2bD{aP#Qr_8M_xPC>&-ZSU|r{)^)sSZ6n|#;W}S1x{88@JOE)`CzbTy&
zENFY7a)lAc-W<NDFPw+OSE&0La^+9k9C6Y+QKw+r#Qi-ED_16k&RaV1QtiSgPrj&r
x@?UnS=zhG%;~nktm%rUz?|p{fe8=kZ<wdbG|JTgAT<QB%{9@?goUN=33;@T_2l4;_

literal 0
HcmV?d00001

diff --git a/data/peanutYield.RData b/data/peanutYield.RData
new file mode 100644
index 0000000000000000000000000000000000000000..06a7b2e964aa7e469e96365a37982e24467701b4
GIT binary patch
literal 455
zcmb2|=3oE=X6~X+gGXHtk`fXUk`mIAk`j{Gj3Q?=uqZQgGpkQ{rsv^%Mq9V@jL%um
z#DoMfwv)`6aSCgh!q_fxi8OTZo5&x1nPa&!b*1G|hiMEEVoIm-k`_o$iJ!>-c-Ab1
zVoP70(z(LkLEZwNj_p$HR9%{pwps1DirC?vw&)qtX2eX2XG!_%%&nAirloD>MT6d}
z&3g`hk$+W`w&Jwq9N}Vaqt8N(c3BJ`e>NLU4l?fM(?1u^q2a{BmhO-i=T#S&l&5q=
zCT)i0l2!)Ao_EYn61FZJ32PJ&<Yi<gt;kMlIbwRr)X?ow)T>!i0*`aq>?UlNO^Z)p
zU~JFSUQoi)^6m!1!f17e7q?hA?ml2x$Stk##f_O`??cg+xUURO>whvYoW8^%Q<`IM
z2)ony9gIt@6~0Un7O1LXY?=3japChl4HrHeD|~TUv3GO5!&%YB3*90LUz$_{N(1V3
zZZd5ZUsa#SzG^S`f=AqP3%bgk|Fq7V|4FDg*l<%;WKv*SmZ$2J({m=z=SkfZvP@0v
zpirvbhL)yj{u*gTVo#^PK6r+8sjFItxMQYJwn@=am1!!kmNH&0*J4)D`p?L4_d!&L
IA}a#}0O$<3mH+?%

literal 0
HcmV?d00001

diff --git a/data/peanutYield2.RData b/data/peanutYield2.RData
new file mode 100644
index 0000000000000000000000000000000000000000..af9b2899941710a9a2f5a508afe2765b2917e042
GIT binary patch
literal 397
zcmb2|=3oE=X6~X+gGXHtk`fXUk`mIAk`j{Gj3Q?=uqZQgGpkQ{rs?5(Mq9V@jL%t5
z!=!`+F}5y7QNzznnT#8(Cd6%!2w*>1BeMHOQPAn2;;w~in;l$l`tp=Cf71Sx7!xd<
zqPM(r>AK=1&n!--dlBX;8<&Wj&AIku&XGq+I~Fe#Tc)Zu{fRhZ<o^qMT6$()Fff)%
zb3Ce$J@en<$|idSV|~^A8iwY92ag2ZztYgSkWocPYRb$hvm#3>3imlV2wvb1@a&MY
zdw%3j)0sU-l30bgYlXdi0+nlplRIk9{Qvl~r;%Uf^#+AzMiv<{n}!R<RthEC8C&8u
zu{!Cuu9|(jaTVXP`g1%XKUW5PTxu0i9JF8yZ^(aMHV%j0344y*35jSiIIOf@XQPJk
z)+IuxQqP_AZ#!D7XCT`YtT@YZj_c2-RR)_K0#96F*yzjPexYEg$~2W%OBo+4iJsL+
zyPpugpe`U|qs5**OlHR)p1#GLP-V+~#C*SstiZm+g~>L}$wEDh^G;0--^R?q003ZC
Br&a&}

literal 0
HcmV?d00001

diff --git a/data/potatoYield2.RData b/data/potatoYield2.RData
new file mode 100644
index 0000000000000000000000000000000000000000..ab576be922a9de310910771ac276d2e425f4d382
GIT binary patch
literal 599
zcmb2|=3oE==Bpw0`IiF(>Nh^NFl1E><<U8zlhfG|tRBGmRdvEO6Ol)3pWHh<`man=
zy0gS<j*^*}nb|TU#gD4L6i>x`WQ|BjUT*XI-GPWu<IhV@@4o-{=g)U<PQPp3m->bG
z*o;FVu8Cb*SJx=j8|j?p`V?n5qfKcJ-?6w2>4wYJdClet(m(y%Pe%OdF|(NmXQ-*F
zyH20<|Nr0rXOzS%+T#qS-@1B(`&!NE**<%w-{UA;m>5-dabK>P=Gw$*-P>9{%Eca^
zT<z*`^HStGvA3V@znK-fMLSKF*KK*qJFfVOMu*c&j~$xLvDtcFyHe;vGp-|Zxc&rh
z(|3DVqP8`DrFi*74R4oNrJJgYbSK^sx~M-bL+6yFpVM*Al#El7RnjxLG_#l7SQ6s7
zl5wtA$#cGGv7KzEx8K|JqTu;7dD(l%e!u)JT)FSV@rvEe%9VCS*IRz9UEg5tci{fB
z1o>wQ^&N$W`KP}4@Lb~iA@=&uf)CUlnO(bhm&GQ6v3~lS8TK=n=Qp3fzmnlyLJWVQ
z{OgyAcQ*Ss#I8B+`j73{^@;!Ou3i1bR=PzXU&;Qa=DnSKe@eHQ*E8K0escF%rJc*}
z=D$``>RW0PV)}pW;4XW${4?{TllyopU)Ij*sO|sexs=yVWb;PxeU2;Gf}{Taso5z1
zKX_RN*XEb6g#ul<S2%=TRGRlYRkB)1M73TmI4I<m-*U~*i~D__v*x%Nzmu)8GyUN!
zBWGQ<fB){nGrSe2j@`_ZIk5iVh6bbA_xOCxHpTfdX>)3MZkWbWCKNJxLECP@)A_ks
K9`kb97#IL3ts(&c

literal 0
HcmV?d00001

diff --git a/man/castorbeansYield.Rd b/man/castorbeansYield.Rd
new file mode 100644
index 0000000..9aeb846
--- /dev/null
+++ b/man/castorbeansYield.Rd
@@ -0,0 +1,61 @@
+% Generated by roxygen2 (4.1.1): do not edit by hand
+% Please edit documentation in R/legTools.R
+\docType{data}
+\name{castorbeansYield}
+\alias{castorbeansYield}
+\title{Castor beans variety competition experiments in some locations}
+\format{a \code{data.frame} with 45 records and 3 variables.}
+\source{
+Pimentel Gomes, F. (2009). Curso de Estatística Experimental
+    (15th ed.). Piracicaba, São Paulo: FEALQ. (page 149)
+
+Souza, O. Ferreira de.; Canecchio, F. V. (1952). Melhoramento de
+    mamoeira, VII. Bragantia 12:301-307.
+}
+\usage{
+data(castorbeansYield)
+}
+\description{
+These data are from a set of experiments evaluating
+    varieties of castor beans in terms of yield (kg/ha) for some
+    locations (counties).
+
+\itemize{
+
+\item \code{variety} a categorical unordered factor with 8 levels,
+    varieties and lines of castor beans.
+
+\item \code{loc} a categorical unordered factor with 5 levels, the
+    locations (counties) experimental stations.
+
+\item \code{meanYield} is the mean of yield for a variety in each
+    location. So, this the mean across all plots of the same variety
+    in each experiment.
+
+}
+}
+\details{
+The data in the book was not complete because doesn't report
+    individual plot values but the mean for a variety in each single
+    experiment. Neither mention which experimental design was used in
+    each station. The book report the Mean Square Error estimates for
+    each experiment. These values as provided as an attribute of the
+    object, \code{attr(peanut, "MSE")} and they comes from the ANOVA
+    table corresponding to an appropriate model for each
+    location. With these MSE is possible use them in a such a way
+    that a partial ANOVA table can be obtained to test the effect of
+    location, variety and its interaction.
+}
+\examples{
+require(lattice)
+
+data(castorbeansYield)
+str(castorbeansYield)
+
+xyplot(meanYield~variety, data=castorbeansYield,
+       groups=loc, type="o",
+       ylab=expression(Yield~(t~ha^{-1})),
+       xlab="Variety")
+}
+\keyword{datasets}
+
diff --git a/man/peanutYield.Rd b/man/peanutYield.Rd
new file mode 100644
index 0000000..5feba59
--- /dev/null
+++ b/man/peanutYield.Rd
@@ -0,0 +1,63 @@
+% Generated by roxygen2 (4.1.1): do not edit by hand
+% Please edit documentation in R/legTools.R
+\docType{data}
+\name{peanutYield}
+\alias{peanutYield}
+\title{Peanut variety competition experiments in some locations and
+    years}
+\format{a \code{data.frame} with 36 records and 4 variables.}
+\source{
+Pimentel Gomes, F. (2009). Curso de Estatística Experimental
+    (15th ed.). Piracicaba, São Paulo: FEALQ. (page 150)
+
+Souza, O. Ferreira de.; Abramides, Eduardo. (1952). Ensaios de
+    variedades de amendoim. Bragantia 12:349-358.
+}
+\usage{
+data(peanutYield)
+}
+\description{
+These data are from a set of experiments evaluating
+    varieties of peanut in terms of yield (kg/ha) for some locations
+    and years.
+
+\itemize{
+
+\item \code{variety} a categorical unordered factor with 4 levels,
+    peanut varieties.
+
+\item \code{loc} a categorical unordered factor with 3 levels, the
+    locations (counties) of the experimental stations.
+
+\item \code{year} a categorical factor, the crop year.
+
+\item \code{meanYield} is the adjusted mean of yield for a variety in
+    each location and year.
+
+}
+}
+\details{
+The data in the book was not complete because doesn't report
+    individual plot values but the adjusted mean for a variety in
+    each single experiment. Neither mention which experimental design
+    was used in each station. The book report the Mean Square Error
+    estimates for each experiment. These values as provided as an
+    attribute of the object, \code{attr(peanut, "MSE")} and they
+    comes from the ANOVA table corresponding to an appropriate model
+    for each location. With these MSE is possible use them in a such
+    a way that a partial ANOVA table can be obtained to test the
+    effect of location, variety and its interaction.
+}
+\examples{
+require(lattice)
+
+data(peanutYield)
+str(peanutYield)
+
+xyplot(meanYield~variety|year, data=peanutYield,
+       groups=loc, type="o",
+       ylab=expression(Yield~(t~ha^{-1})),
+       xlab="Variety")
+}
+\keyword{datasets}
+
diff --git a/man/peanutYield2.Rd b/man/peanutYield2.Rd
new file mode 100644
index 0000000..ebd061c
--- /dev/null
+++ b/man/peanutYield2.Rd
@@ -0,0 +1,60 @@
+% Generated by roxygen2 (4.1.1): do not edit by hand
+% Please edit documentation in R/legTools.R
+\docType{data}
+\name{peanutYield2}
+\alias{peanutYield2}
+\title{Peanut variety competition experiments in some locations}
+\format{a \code{data.frame} with 16 records and 3 variables.}
+\source{
+Pimentel Gomes, F. (2009). Curso de Estatística Experimental
+    (15th ed.). Piracicaba, São Paulo: FEALQ. (page 150)
+
+Souza, O. Ferreira de.; Abramides, Eduardo. (1952). Ensaios de
+    variedades de amendoim. Bragantia 12:349-358.
+}
+\usage{
+data(peanutYield2)
+}
+\description{
+These data are from a set of experiments evaluating
+    varieties of peanut in terms of yield (kg/ha) for some locations
+    in different years.
+
+\itemize{
+
+\item \code{variety} a categorical unordered factor with 4 levels,
+    peanut varieties.
+
+\item \code{loc} a categorical unordered factor with 4 levels, the
+    location:year of the experiment.
+
+\item \code{meanYield} is mean of yield for a variety in each
+    location:year.
+
+}
+}
+\details{
+The data in the book was not complete because doesn't report
+    individual plot values but the adjusted mean for a variety in
+    each single experiment. Neither mention which experimental design
+    was used in each station. The book report the Mean Square Error
+    estimates for each experiment. These values as provided as an
+    attribute of the object, \code{attr(peanut, "MSE")} and they
+    comes from the ANOVA table corresponding to an appropriate model
+    for each location. With these MSE is possible use them in a such
+    a way that a partial ANOVA table can be obtained to test the
+    effect of location, variety and its interaction.
+}
+\examples{
+require(lattice)
+
+data(peanutYield2)
+str(peanutYield2)
+
+xyplot(meanYield~variety, data=peanutYield2,
+       groups=loc, type="o",
+       ylab=expression(Yield~(t~ha^{-1})),
+       xlab="Variety")
+}
+\keyword{datasets}
+
diff --git a/man/potatoYield2.Rd b/man/potatoYield2.Rd
new file mode 100644
index 0000000..9dfc732
--- /dev/null
+++ b/man/potatoYield2.Rd
@@ -0,0 +1,65 @@
+% Generated by roxygen2 (4.1.1): do not edit by hand
+% Please edit documentation in R/legTools.R
+\docType{data}
+\name{potatoYield2}
+\alias{potatoYield2}
+\title{Potato variety competition experiments in several locations}
+\format{a \code{data.frame} with 56 records and 3 variables. There is
+    an attribute named \code{MSE}, a named vector containing the Mean
+    Squares Errors estimates for each experiment.}
+\source{
+Pimentel Gomes, F. (2009). Curso de Estatística Experimental
+    (15th ed.). Piracicaba, São Paulo: FEALQ. (page 147)
+}
+\usage{
+data(potatoYield2)
+}
+\description{
+These data are from a set of experiments done by the
+    engineer Oscar A. Garay at Balcare, Argentina. These experiments
+    were done in a randomized complete block design with 4 blocks and
+    at 7 locations on the potato production region at the Buenos
+    Aires province.
+
+\itemize{
+
+\item \code{variety} a categorical unordered factor with 8 levels,
+    varieties of potato.
+
+\item \code{loc} a categorical unordered factor with 7 levels, the
+    locations that represent farms or experimental stations.
+
+\item \code{sumYield} is the sum of yield for a variety in each
+    experiment. Then, this sum values across 4 blocks in each
+    experiment. To get the mean yield you should divide by 4. Yield
+    is t/ha.
+
+}
+}
+\details{
+The data in the book was not complete because doesn't report
+    individual plot values but, instead, the sum for a variety in
+    each experiment. To do a joint or global analysis, with all
+    locations, varieties and blocks, its necessary all individual
+    plot values. The book report the Mean Square Error estimates for
+    each experiment as an attribute of the object,
+    \code{attr(potatoYield2, "MSE")} and they comes from the ANOVA
+    table in which the model is \code{~block+variety} for each
+    location. The data set \link[legTools]{potatoYield} correspond
+    the location 3. With these MSE is possible use them in a such a
+    way that a partial ANOVA table can be obtained to test the effect
+    of location, variety and its interaction.
+}
+\examples{
+require(lattice)
+
+data(potatoYield2)
+str(potatoYield2)
+
+xyplot(sumYield/4~variety, data=potatoYield2,
+       groups=loc, type="o",
+       ylab=expression(Yield~(t~ha^{-1})),
+       xlab="Variety")
+}
+\keyword{datasets}
+
-- 
GitLab