Pacotes oficiais
##=============================================================================
## Aplicação de modelos de regressão linear e
## não linear em ciências agrárias
##
## 09 à 11 de Dezembro de 2014 - Goiânia/GO
## Embrapa Arroz e Feijão
##
## Prof. Dr. Walmes M. Zeviani
## LEG/DEST/UFPR
##=============================================================================
##-----------------------------------------------------------------------------
## Pacotes que serão usados no curso.
pkg <- c("latticeExtra", "gridExtra",
"doBy", "multcomp", "devtools",
"plyr", "reshape", "reshape2",
"alr3", "nlrwr", "faraway",
"car", "aod", "lmtest",
"boot", "ellipse", "asbio",
"nlstools", "nls2",
"segmented", "minpack.lm",
"splines", "locfit",
"rootSolve", "numDeriv",
"fmsb", "ridge", "genridge",
"gam", "mgcv", "nlme", "rsm",
"fBasics", "EnvStats", "ExpDes")
install.packages(pkg, dependencies=TRUE,
repos="http://cran-r.c3sl.ufpr.br")
## Interfaces gráficas.
install.packages("rpanel", dependencies=TRUE,
repos="http://cran-r.c3sl.ufpr.br")
Carregar pacotes
##-----------------------------------------------------------------------------
## Carregando todos os pacotes na sessão teste.
pkg <- c("latticeExtra", "gridExtra",
"doBy", "multcomp", "devtools",
"plyr", "reshape", "reshape2",
"alr3", "nlrwr", "faraway",
"car", "aod", "lmtest",
"boot", "ellipse", "asbio",
"nlstools", "nls2",
"segmented", "minpack.lm",
"splines", "locfit",
"rootSolve", "numDeriv",
"fmsb", "ridge", "genridge",
"gam", "mgcv", "nlme", "rsm",
"fBasics", "EnvStats", "ExpDes",
"rpanel", "wzRfun")
sapply(pkg, require, character.only=TRUE)
## Loading required package: latticeExtra
## Loading required package: RColorBrewer
## Loading required package: lattice
## Loading required package: gridExtra
## Loading required package: grid
## Loading required package: doBy
## Loading required package: survival
## Loading required package: splines
## Loading required package: methods
## Loading required package: multcomp
## Loading required package: mvtnorm
## Loading required package: TH.data
## Loading required package: devtools
## Loading required package: plyr
## Loading required package: reshape
##
## Attaching package: 'reshape'
##
## The following objects are masked from 'package:plyr':
##
## rename, round_any
##
## Loading required package: reshape2
##
## Attaching package: 'reshape2'
##
## The following objects are masked from 'package:reshape':
##
## colsplit, melt, recast
##
## Loading required package: alr3
## Loading required package: car
## Loading required package: nlrwr
## Loading required package: drc
## Loading required package: gtools
##
## Attaching package: 'gtools'
##
## The following object is masked from 'package:car':
##
## logit
##
## Loading required package: MASS
##
## Attaching package: 'MASS'
##
## The following object is masked from 'package:alr3':
##
## forbes
##
## Loading required package: magic
## Loading required package: abind
## Loading required package: plotrix
##
## 'drc' has been loaded.
##
## Please cite R and 'drc' if used for a publication,
## for references type 'citation()' and 'citation('drc')'.
##
##
## Attaching package: 'drc'
##
## The following objects are masked from 'package:stats':
##
## gaussian, getInitial
##
## Loading required package: HydroMe
## Loading required package: nlme
## Loading required package: minpack.lm
## Loading required package: lmtest
## Loading required package: zoo
##
## Attaching package: 'zoo'
##
## The following objects are masked from 'package:base':
##
## as.Date, as.Date.numeric
##
## Loading required package: NISTnls
## Loading required package: nls2
## Loading required package: proto
## Loading required package: nlstools
##
## 'nlstools' has been loaded.
##
## IMPORTANT NOTICE: Most nonlinear regression models and data set examples
## related to predictive microbiolgy have been moved to the package 'nlsMicrobio'
##
## Loading required package: NRAIA
##
## Attaching package: 'NRAIA'
##
## The following object is masked from 'package:nlstools':
##
## plotfit
##
## Loading required package: sandwich
##
## 'nlrwr' has been loaded.
##
## Please cite R and 'nlrwr' if used for a publication,
## for references type 'citation()' and 'citation('nlrwr')'.
## Loading required package: faraway
##
## Attaching package: 'faraway'
##
## The following object is masked from 'package:gtools':
##
## logit
##
## The following objects are masked from 'package:alr3':
##
## cathedral, pipeline, twins
##
## The following objects are masked from 'package:car':
##
## logit, vif
##
## The following object is masked from 'package:plyr':
##
## ozone
##
## The following object is masked from 'package:survival':
##
## rats
##
## The following object is masked from 'package:lattice':
##
## melanoma
##
## Loading required package: aod
##
## Attaching package: 'aod'
##
## The following objects are masked from 'package:faraway':
##
## rats, salmonella
##
## The following object is masked from 'package:survival':
##
## rats
##
## Loading required package: boot
##
## Attaching package: 'boot'
##
## The following objects are masked from 'package:faraway':
##
## logit, melanoma
##
## The following objects are masked from 'package:gtools':
##
## inv.logit, logit
##
## The following object is masked from 'package:alr3':
##
## wool
##
## The following object is masked from 'package:car':
##
## logit
##
## The following object is masked from 'package:survival':
##
## aml
##
## The following object is masked from 'package:lattice':
##
## melanoma
##
## Loading required package: ellipse
##
## Attaching package: 'ellipse'
##
## The following object is masked from 'package:car':
##
## ellipse
##
## Loading required package: asbio
## Loading required package: tcltk
## Loading required package: segmented
## Loading required package: locfit
## locfit 1.5-9.1 2013-03-22
## Loading required package: rootSolve
## Loading required package: numDeriv
##
## Attaching package: 'numDeriv'
##
## The following object is masked from 'package:rootSolve':
##
## hessian
##
## Loading required package: fmsb
## Loading required package: ridge
## Loading required package: genridge
##
## Attaching package: 'genridge'
##
## The following object is masked from 'package:survival':
##
## ridge
##
## Loading required package: gam
## Loaded gam 1.09.1
##
##
## Attaching package: 'gam'
##
## The following object is masked from 'package:locfit':
##
## gam.slist
##
## Loading required package: mgcv
## This is mgcv 1.8-3. For overview type 'help("mgcv-package")'.
##
## Attaching package: 'mgcv'
##
## The following objects are masked from 'package:gam':
##
## gam, gam.control, gam.fit, plot.gam, predict.gam, s, summary.gam
##
## The following object is masked from 'package:aod':
##
## negbin
##
## The following object is masked from 'package:magic':
##
## magic
##
## The following object is masked from 'package:gtools':
##
## scat
##
## Loading required package: rsm
## Loading required package: fBasics
## Loading required package: timeDate
## Loading required package: timeSeries
##
## Attaching package: 'timeSeries'
##
## The following object is masked from 'package:zoo':
##
## time<-
##
##
##
## Rmetrics Package fBasics
## Analysing Markets and calculating Basic Statistics
## Copyright (C) 2005-2014 Rmetrics Association Zurich
## Educational Software for Financial Engineering and Computational Science
## Rmetrics is free software and comes with ABSOLUTELY NO WARRANTY.
## https://www.rmetrics.org --- Mail to: info@rmetrics.org
##
## Attaching package: 'fBasics'
##
## The following object is masked from 'package:car':
##
## densityPlot
##
## Loading required package: EnvStats
##
## Attaching package: 'EnvStats'
##
## The following objects are masked from 'package:timeDate':
##
## kurtosis, skewness
##
## The following object is masked from 'package:MASS':
##
## boxcox
##
## The following object is masked from 'package:car':
##
## qqPlot
##
## The following object is masked from 'package:stats':
##
## predict.lm
##
## Loading required package: ExpDes
##
## Attaching package: 'ExpDes'
##
## The following object is masked from 'package:MASS':
##
## ginv
##
## Loading required package: rpanel
## Package `rpanel', version 1.1-3: type help(rpanel) for summary information
##
## Attaching package: 'rpanel'
##
## The following object is masked from 'package:boot':
##
## poisons
##
## Loading required package: wzRfun
## latticeExtra gridExtra doBy multcomp devtools plyr
## TRUE TRUE TRUE TRUE TRUE TRUE
## reshape reshape2 alr3 nlrwr faraway car
## TRUE TRUE TRUE TRUE TRUE TRUE
## aod lmtest boot ellipse asbio nlstools
## TRUE TRUE TRUE TRUE TRUE TRUE
## nls2 segmented minpack.lm splines locfit rootSolve
## TRUE TRUE TRUE TRUE TRUE TRUE
## numDeriv fmsb ridge genridge gam mgcv
## TRUE TRUE TRUE TRUE TRUE TRUE
## nlme rsm fBasics EnvStats ExpDes rpanel
## TRUE TRUE TRUE TRUE TRUE TRUE
## wzRfun
## TRUE
##-----------------------------------------------------------------------------
## Informações da sessão.
Sys.time()
## [1] "2014-12-11 18:54:58 BRST"
sessionInfo()
## R version 3.1.2 (2014-10-31)
## Platform: i686-pc-linux-gnu (32-bit)
##
## locale:
## [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C LC_TIME=pt_BR.UTF-8
## [4] LC_COLLATE=en_US.UTF-8 LC_MONETARY=pt_BR.UTF-8 LC_MESSAGES=en_US.UTF-8
## [7] LC_PAPER=pt_BR.UTF-8 LC_NAME=C LC_ADDRESS=C
## [10] LC_TELEPHONE=C LC_MEASUREMENT=pt_BR.UTF-8 LC_IDENTIFICATION=C
##
## attached base packages:
## [1] tcltk methods splines grid stats graphics grDevices utils
## [9] datasets base
##
## other attached packages:
## [1] wzRfun_0.4 rpanel_1.1-3 ExpDes_1.1.2 EnvStats_1.0.3
## [5] fBasics_3011.87 timeSeries_3011.98 timeDate_3011.99 rsm_2.07
## [9] mgcv_1.8-3 gam_1.09.1 genridge_0.6-5 ridge_2.1-3
## [13] fmsb_0.5.1 numDeriv_2012.9-1 rootSolve_1.6.5.1 locfit_1.5-9.1
## [17] segmented_0.5-0.0 asbio_1.1-1 ellipse_0.3-8 boot_1.3-13
## [21] aod_1.3 faraway_1.0.6 nlrwr_1.1-0 sandwich_2.3-2
## [25] NRAIA_0.9-8 nlstools_1.0-0 nls2_0.2 proto_0.3-10
## [29] NISTnls_0.9-13 lmtest_0.9-33 zoo_1.7-11 HydroMe_2.0
## [33] minpack.lm_1.1-8 nlme_3.1-118 drc_2.3-96 plotrix_3.5-10
## [37] magic_1.5-6 abind_1.4-0 MASS_7.3-35 gtools_3.4.1
## [41] alr3_2.0.5 car_2.0-22 reshape2_1.4 reshape_0.8.5
## [45] plyr_1.8.1 devtools_1.6.1 multcomp_1.3-7 TH.data_1.0-5
## [49] mvtnorm_1.0-1 doBy_4.5-12 survival_2.37-7 gridExtra_0.9.1
## [53] latticeExtra_0.6-26 lattice_0.20-29 RColorBrewer_1.0-5 rmarkdown_0.3.3
## [57] knitr_1.8
##
## loaded via a namespace (and not attached):
## [1] deSolve_1.11 digest_0.6.4 evaluate_0.5.5 formatR_1.0
## [5] htmltools_0.2.6 Matrix_1.1-4 multcompView_0.1-5 nnet_7.3-8
## [9] pixmap_0.4-11 Rcpp_0.11.3 scatterplot3d_0.3-35 stringr_0.6.2
## [13] tkrplot_0.0-23 tools_3.1.2 yaml_2.1.13