diff --git a/R/NetoTb6.1.R b/R/NetoTb6.1.R new file mode 100644 index 0000000000000000000000000000000000000000..8233d6c38c2f489a940e4f97d9f78ab00d69e2f0 --- /dev/null +++ b/R/NetoTb6.1.R @@ -0,0 +1,32 @@ +#' @name NetoTb6.1 +#' @title Resultados de Um Planejamento 2^2 +#' @description Resultados de Um Planejamento 2^2 com ponto central. +#' @format Um \code{data.frame} com 7 observações e 3 variáveis, em que +#' +#' \describe{ +#' +#' \item{\code{x1}}{Valores do fator 1.} +#' +#' \item{\code{x2}}{Valores do fator 2.} +#' +#' \item{\code{y}}{Resposta.} +#' +#' } +#' @keywords DBC +#' @source Barros Neto, Benício de (2010), (Tabela 6.1, pág. 267) +#' @examples +#' +#' data(NetoTb6.1) +#' str(NetoTb6.1) +#' +#' par(mfrow = c(1,2)) +#' +#' plot(y ~ x1, data = NetoTb6.1) +#' +#' abline(lm(y ~ x1, data = NetoTb6.1), col = 2) +#' +#' plot(y ~ x2, data = NetoTb6.1) +#' +#' abline(lm(y ~ x2, data = NetoTb6.1), col = 3) +#' +NULL diff --git a/data-raw/NetoTb6.1.txt b/data-raw/NetoTb6.1.txt new file mode 100644 index 0000000000000000000000000000000000000000..8a557142e9f5e15008a5a6718ece49c14dcd8356 --- /dev/null +++ b/data-raw/NetoTb6.1.txt @@ -0,0 +1,8 @@ +x1 x2 y +-1 -1 69 +1 -1 59 +-1 1 78 +1 1 67 +0 0 68 +0 0 66 +0 0 69 diff --git a/data/NetoTb6.1.rda b/data/NetoTb6.1.rda new file mode 100644 index 0000000000000000000000000000000000000000..ec5621b50e30edcb4bfbab1690cdedc637bb2fd5 Binary files /dev/null and b/data/NetoTb6.1.rda differ diff --git a/man/NetoTb6.1.Rd b/man/NetoTb6.1.Rd new file mode 100644 index 0000000000000000000000000000000000000000..b4fe86feecc82871bc7de3dd860449b726e87dc2 --- /dev/null +++ b/man/NetoTb6.1.Rd @@ -0,0 +1,40 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/NetoTb6.1.R +\name{NetoTb6.1} +\alias{NetoTb6.1} +\title{Resultados de Um Planejamento 2^2} +\format{Um \code{data.frame} com 7 observações e 3 variáveis, em que + +\describe{ + +\item{\code{x1}}{Valores do fator 1.} + +\item{\code{x2}}{Valores do fator 2.} + +\item{\code{y}}{Resposta.} + +}} +\source{ +Barros Neto, Benício de (2010), (Tabela 6.1, pág. 267) +} +\description{ +Resultados de Um Planejamento 2^2 com ponto central. +} +\examples{ + +data(NetoTb6.1) +str(NetoTb6.1) + +par(mfrow = c(1,2)) + +plot(y ~ x1, data = NetoTb6.1) + +abline(lm(y ~ x1, data = NetoTb6.1), col = 2) + +plot(y ~ x2, data = NetoTb6.1) + +abline(lm(y ~ x2, data = NetoTb6.1), col = 3) + +} +\keyword{DBC} +