diff --git a/R/NetoTb6.5.R b/R/NetoTb6.5.R new file mode 100644 index 0000000000000000000000000000000000000000..ff068b799b39d8d34c38b2fbf26035a5e736a06a --- /dev/null +++ b/R/NetoTb6.5.R @@ -0,0 +1,32 @@ +#' @name NetoTb6.5 +#' @title Resultados de Um Novo Planejamento 2^2 com Ponto Central +#' @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.5, pág. 273) +#' @examples +#' +#' data(NetoTb6.5) +#' str(NetoTb6.5) +#' +#' par(mfrow = c(1,2)) +#' +#' plot(y ~ x1, data = NetoTb6.5) +#' +#' abline(lm(y ~ x1, data = NetoTb6.5), col = 2) +#' +#' plot(y ~ x2, data = NetoTb6.5) +#' +#' abline(lm(y ~ x2, data = NetoTb6.5), col = 3) +#' +NULL diff --git a/data-raw/NetoTb6.5.txt b/data-raw/NetoTb6.5.txt new file mode 100644 index 0000000000000000000000000000000000000000..f35ae8eb3783ab01fda09225a90b227d1724c6bc --- /dev/null +++ b/data-raw/NetoTb6.5.txt @@ -0,0 +1,8 @@ +x1 x2 y +-1 -1 86 +1 -1 85 +-1 1 78 +1 1 84 +0 0 90 +0 0 88 +0 0 89 diff --git a/data/NetoTb6.3.rda b/data/NetoTb6.3.rda index f2cb5fe9155c4bc46e8f161232673cf93332c557..ec0f98204e7093ebcfa65f5903e06d43611c44c0 100644 Binary files a/data/NetoTb6.3.rda and b/data/NetoTb6.3.rda differ diff --git a/data/NetoTb6.5.rda b/data/NetoTb6.5.rda new file mode 100644 index 0000000000000000000000000000000000000000..e489df3413c8eec0ce343d02bd7f9347022697c4 Binary files /dev/null and b/data/NetoTb6.5.rda differ diff --git a/man/NetoTb6.5.Rd b/man/NetoTb6.5.Rd new file mode 100644 index 0000000000000000000000000000000000000000..15642f2abd980816a93de2161992ddbdd8d9efc8 --- /dev/null +++ b/man/NetoTb6.5.Rd @@ -0,0 +1,40 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/NetoTb6.5.R +\name{NetoTb6.5} +\alias{NetoTb6.5} +\title{Resultados de Um Novo 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.} + +}} +\source{ +Barros Neto, Benício de (2010), (Tabela 6.5, pág. 273) +} +\description{ +Resultados de um planejamento 2^2 com ponto central. +} +\examples{ + +data(NetoTb6.5) +str(NetoTb6.5) + +par(mfrow = c(1,2)) + +plot(y ~ x1, data = NetoTb6.5) + +abline(lm(y ~ x1, data = NetoTb6.5), col = 2) + +plot(y ~ x2, data = NetoTb6.5) + +abline(lm(y ~ x2, data = NetoTb6.5), col = 3) + +} +\keyword{DBC} +