SlideShare a Scribd company logo
1 of 36
Download to read offline
aoliveira@univ-ab.pt, toliveir@univ-ab.pt
plot( ), boxplot( ), hist( )
nome(argumento1,argumento2,...)

>plot(x,y,xlab="Peso",ylab="Altura",
main=’’Diagrama de dispers˜o’’, col=2)
                          a
graphics
lattice
> demo(graphics) # programa de demonstrac˜o
                                        ¸a
plot( ) - caso unidimensional
(base de dados "iris" dispon´vel no R)
                            ı

>iris.joclad<-iris
>names(iris.joclad)<-c(Comp.S´pala,"Larg.S´pala",
                             e            e
"Comp.P´tala","Larg.P´tala", "Esp´cies")
       e             e           e
>plot(Comp.S´pala)
            e
plot( )

>iris.joclad<-iris
>names(iris.joclad)<-c(Comp.S´pala,"Larg.S´pala",
                             e            e
"Comp.P´tala","Larg.P´tala", "Esp´cies")
       e             e           e
>plot(Comp.S´pala, ylab="Comprimento S´pala (cm)",
            e                         e
col="red", pch=20, cex=1.4, main="Anderson Iris data")
plot( ) - caso bidimensional

>iris.joclad<-iris
>names(iris.joclad)<-c(Comp.S´pala,"Larg.S´pala","Comp.P´tala",
                             e            e             e
"Larg.P´tala", "Esp´cies")
       e           e
>plot(Comp.S´pala,Comp.P´tala)
            e           e
plot( )

>iris.joclad<-iris
>names(iris.joclad)<-c(Comp.S´pala,"Larg.S´pala","Comp.P´tala",
                             e            e             e
"Larg.P´tala", "Esp´cies")
       e           e
>plot(Comp.S´pala,Comp.P´tala, xlab="Comprimento S´pala
            e           e                         e
(cm)", ylab="Comprimento P´tala (cm)", col=3, pch=6)
                          e
>abline(lm(Comp.P´tala Comp.S´pala),col=2)
                 e           e
pairs( ), para matrizes de diagramas de
dispers˜o
       a
barplot( ) - unidimensional

>require(grDevices) # for colours
>tN <- table(Ni <- stats::rpois(1000, lambda=4))
>barplot(tN, col=rainbow(20))
barplot( ) - multidimensional


>barplot(height = cbind(Jovem = c(465, 91) / 465 * 100,
Adulto = c(840, 200) / 840 * 100, Idoso = c(37, 17) / 37
* 100), beside = FALSE, width = c(465, 840, 37), col =
c(1, 2), legend.text = c("Antes tratamento", "Ap´s
                                                o
tratamento"), args.legend = list(x = "topleft"))
boxplot( )
hist( )


>hist(Comp.P´tala, breaks = "Sturges", + main =
            e
paste("Histograma"), + xlab = "Comprimentos das P´talas
                                                 e
(cm)", ylab="Frequˆncia", + axes = TRUE, plot = TRUE,
                  e
ylim=c(0,40), col=c(1,2,3,4,5,6,7,8,9,10,11,12))
persp( )
¸˜
> demo(lattice) # programa de demonstracao
barchart( )

>barchart(peso,variedade | local, data = cevada, groups
= ano, layout = c(1,6), stack = TRUE, auto.key =
list(points = FALSE, rectangles = TRUE, space =
"right"), ylab = "Peso de cevada (Ton./ha)", scales =
list(x = list(rot = 45)))
densityplot( )


> densityplot(   altura | voz, data = cantor, layout =
c(2, 4), xlab = "Altura (polegadas)", bw = 5)
dotplot( )


> dotplot(variedade,peso | ano * local, data=cevada)
histogram( )


>histogram(   altura | voz, data = cantor, nint = 17,
endpoints = c(59.5, 76.5), layout = c(2,4), aspect = 1,
xlab = "Altura (polegadas)")
xyplot( )


>xyplot(Comp.P´tala
              e       Larg.P´tala, data=iris,
                            e
groups=Esp´cies, auto.key=T)
          e
cloud( )


>par.set <- list(axis.line = list(col = "transparent"), clip = list(panel = "off"))

print(cloud(Larg.S´pala
                  e       Comp.P´tala * Larg.P´tala, data = iris, cex = .8, groups =
                                e             e

Esp´cies, screen = list(z = 20, x = -70, y = 3), par.settings = par.set, scales =
   e

list(col = "black")), split = c(1,1,2,1), more = TRUE) print(cloud(Comp.S´pala
                                                                         e

Comp.P´tala * Larg.P´tala, data = iris, cex = .8, groups = Esp´cies, screen = list(z
      e             e                                         e

= 20, x = -70, y = 0), par.settings = par.set, scales = list(col = "black")), split =

c(2,1,2,1))
biplot e triplot)


> library(agricolae)
> library(klaR)
> data(Oat2)
> startgraph
> biplot
> model<- AMMI(Oat2[,1], Oat2[,2], Oat2[,3], Oat2[,4],xlim=c(-35,20),ylim=c(-20,20),
graph="biplot")
> model<- AMMI(Oat2[,1], Oat2[,2], Oat2[,3], Oat2[,4],xlim=c(-35,20),ylim=c(-20,20),
graph="biplot",number=FALSE)
> triplot

> model<- AMMI(Oat2[,1], Oat2[,2], Oat2[,3], Oat2[,4],graph="triplot")
Joclad 2010 d
Joclad 2010 d
Joclad 2010 d
Joclad 2010 d
Joclad 2010 d
Joclad 2010 d
Joclad 2010 d
Joclad 2010 d

More Related Content

What's hot

Animaton Package in R An Example:
Animaton Package in R An Example:Animaton Package in R An Example:
Animaton Package in R An Example:Dr. Volkan OBAN
 
Data visualization with multiple groups using ggplot2
Data visualization with multiple groups using ggplot2Data visualization with multiple groups using ggplot2
Data visualization with multiple groups using ggplot2Rupak Roy
 
Geo Spatial Plot using R
Geo Spatial Plot using R Geo Spatial Plot using R
Geo Spatial Plot using R Rupak Roy
 
Артём Акуляков - F# for Data Analysis
Артём Акуляков - F# for Data AnalysisАртём Акуляков - F# for Data Analysis
Артём Акуляков - F# for Data AnalysisSpbDotNet Community
 
Data visualization using the grammar of graphics
Data visualization using the grammar of graphicsData visualization using the grammar of graphics
Data visualization using the grammar of graphicsRupak Roy
 
Not Really Engineering, Barely a Science
Not Really Engineering, Barely a ScienceNot Really Engineering, Barely a Science
Not Really Engineering, Barely a ScienceRod Begbie
 
Calculus II - 6
Calculus II - 6Calculus II - 6
Calculus II - 6David Mao
 
BOXPLOT EXAMPLES in R And An Example for BEESWARM:
BOXPLOT EXAMPLES in R And  An Example for BEESWARM:BOXPLOT EXAMPLES in R And  An Example for BEESWARM:
BOXPLOT EXAMPLES in R And An Example for BEESWARM:Dr. Volkan OBAN
 
Presentation: Plotting Systems in R
Presentation: Plotting Systems in RPresentation: Plotting Systems in R
Presentation: Plotting Systems in RIlya Zhbannikov
 
Taking your side effects aside
Taking your side effects asideTaking your side effects aside
Taking your side effects aside💡 Tomasz Kogut
 
How to extend map? Or why we need collections redesign? - Scalar 2017
How to extend map? Or why we need collections redesign? - Scalar 2017How to extend map? Or why we need collections redesign? - Scalar 2017
How to extend map? Or why we need collections redesign? - Scalar 2017Szymon Matejczyk
 
treemap package in R and examples.
treemap package in R and examples.treemap package in R and examples.
treemap package in R and examples.Dr. Volkan OBAN
 

What's hot (19)

Animaton Package in R An Example:
Animaton Package in R An Example:Animaton Package in R An Example:
Animaton Package in R An Example:
 
Data visualization with multiple groups using ggplot2
Data visualization with multiple groups using ggplot2Data visualization with multiple groups using ggplot2
Data visualization with multiple groups using ggplot2
 
2.3 implicits
2.3 implicits2.3 implicits
2.3 implicits
 
Geo Spatial Plot using R
Geo Spatial Plot using R Geo Spatial Plot using R
Geo Spatial Plot using R
 
Артём Акуляков - F# for Data Analysis
Артём Акуляков - F# for Data AnalysisАртём Акуляков - F# for Data Analysis
Артём Акуляков - F# for Data Analysis
 
Data visualization using the grammar of graphics
Data visualization using the grammar of graphicsData visualization using the grammar of graphics
Data visualization using the grammar of graphics
 
Genomic Graphics
Genomic GraphicsGenomic Graphics
Genomic Graphics
 
Foliumcheatsheet
FoliumcheatsheetFoliumcheatsheet
Foliumcheatsheet
 
Not Really Engineering, Barely a Science
Not Really Engineering, Barely a ScienceNot Really Engineering, Barely a Science
Not Really Engineering, Barely a Science
 
Calculus II - 6
Calculus II - 6Calculus II - 6
Calculus II - 6
 
BOXPLOT EXAMPLES in R And An Example for BEESWARM:
BOXPLOT EXAMPLES in R And  An Example for BEESWARM:BOXPLOT EXAMPLES in R And  An Example for BEESWARM:
BOXPLOT EXAMPLES in R And An Example for BEESWARM:
 
parent functons
parent functonsparent functons
parent functons
 
Presentation: Plotting Systems in R
Presentation: Plotting Systems in RPresentation: Plotting Systems in R
Presentation: Plotting Systems in R
 
Proga 0518
Proga 0518Proga 0518
Proga 0518
 
RM FUNCIONAL
RM FUNCIONALRM FUNCIONAL
RM FUNCIONAL
 
Taking your side effects aside
Taking your side effects asideTaking your side effects aside
Taking your side effects aside
 
How to extend map? Or why we need collections redesign? - Scalar 2017
How to extend map? Or why we need collections redesign? - Scalar 2017How to extend map? Or why we need collections redesign? - Scalar 2017
How to extend map? Or why we need collections redesign? - Scalar 2017
 
treemap package in R and examples.
treemap package in R and examples.treemap package in R and examples.
treemap package in R and examples.
 
Googlevis examples
Googlevis examplesGooglevis examples
Googlevis examples
 

Viewers also liked

Erromatarrak julen i ashley
Erromatarrak julen i ashleyErromatarrak julen i ashley
Erromatarrak julen i ashleyMalenae
 
泰欣生治疗胰腺癌一例(20110609)
泰欣生治疗胰腺癌一例(20110609)泰欣生治疗胰腺癌一例(20110609)
泰欣生治疗胰腺癌一例(20110609)bg4wfc
 
fruits & vegetables
fruits & vegetablesfruits & vegetables
fruits & vegetablesliza14
 
Esteban morocho, Erick Carchi
Esteban morocho, Erick CarchiEsteban morocho, Erick Carchi
Esteban morocho, Erick Carchi2101003
 
Folhaportugal331
Folhaportugal331Folhaportugal331
Folhaportugal331iurdpt
 

Viewers also liked (8)

Livro
LivroLivro
Livro
 
Erromatarrak julen i ashley
Erromatarrak julen i ashleyErromatarrak julen i ashley
Erromatarrak julen i ashley
 
泰欣生治疗胰腺癌一例(20110609)
泰欣生治疗胰腺癌一例(20110609)泰欣生治疗胰腺癌一例(20110609)
泰欣生治疗胰腺癌一例(20110609)
 
fruits & vegetables
fruits & vegetablesfruits & vegetables
fruits & vegetables
 
Ob 2nd sheet
Ob   2nd  sheetOb   2nd  sheet
Ob 2nd sheet
 
Esteban morocho, Erick Carchi
Esteban morocho, Erick CarchiEsteban morocho, Erick Carchi
Esteban morocho, Erick Carchi
 
Folhaportugal331
Folhaportugal331Folhaportugal331
Folhaportugal331
 
Dones que han canviat el món
Dones que han canviat el mónDones que han canviat el món
Dones que han canviat el món
 

Similar to Joclad 2010 d

Advanced Data Visualization in R- Somes Examples.
Advanced Data Visualization in R- Somes Examples.Advanced Data Visualization in R- Somes Examples.
Advanced Data Visualization in R- Somes Examples.Dr. Volkan OBAN
 
An example of R code for Data visualization
An example of R code for Data visualizationAn example of R code for Data visualization
An example of R code for Data visualizationLiang (Leon) Zhou
 
Seminar PSU 09.04.2013 - 10.04.2013 MiFIT, Arbuzov Vyacheslav
Seminar PSU 09.04.2013 - 10.04.2013 MiFIT, Arbuzov VyacheslavSeminar PSU 09.04.2013 - 10.04.2013 MiFIT, Arbuzov Vyacheslav
Seminar PSU 09.04.2013 - 10.04.2013 MiFIT, Arbuzov VyacheslavVyacheslav Arbuzov
 
ggtimeseries-->ggplot2 extensions
ggtimeseries-->ggplot2 extensions ggtimeseries-->ggplot2 extensions
ggtimeseries-->ggplot2 extensions Dr. Volkan OBAN
 
Plot3D package in R-package-for-3d-and-4d-graph-Data visualization.
Plot3D package in R-package-for-3d-and-4d-graph-Data visualization.Plot3D package in R-package-for-3d-and-4d-graph-Data visualization.
Plot3D package in R-package-for-3d-and-4d-graph-Data visualization.Dr. Volkan OBAN
 
Table of Useful R commands.
Table of Useful R commands.Table of Useful R commands.
Table of Useful R commands.Dr. Volkan OBAN
 
Useful javascript
Useful javascriptUseful javascript
Useful javascriptLei Kang
 
MH prediction modeling and validation in r (2) classification 190709
MH prediction modeling and validation in r (2) classification 190709MH prediction modeling and validation in r (2) classification 190709
MH prediction modeling and validation in r (2) classification 190709Min-hyung Kim
 
Some Examples in R- [Data Visualization--R graphics]
 Some Examples in R- [Data Visualization--R graphics] Some Examples in R- [Data Visualization--R graphics]
Some Examples in R- [Data Visualization--R graphics]Dr. Volkan OBAN
 
Aaron Ellison Keynote: Reaching the 99%
Aaron Ellison Keynote: Reaching the 99%Aaron Ellison Keynote: Reaching the 99%
Aaron Ellison Keynote: Reaching the 99%David LeBauer
 
数学カフェ 確率・統計・機械学習回 「速習 確率・統計」
数学カフェ 確率・統計・機械学習回 「速習 確率・統計」数学カフェ 確率・統計・機械学習回 「速習 確率・統計」
数学カフェ 確率・統計・機械学習回 「速習 確率・統計」Ken'ichi Matsui
 

Similar to Joclad 2010 d (20)

Advanced Data Visualization in R- Somes Examples.
Advanced Data Visualization in R- Somes Examples.Advanced Data Visualization in R- Somes Examples.
Advanced Data Visualization in R- Somes Examples.
 
CLUSTERGRAM
CLUSTERGRAMCLUSTERGRAM
CLUSTERGRAM
 
An example of R code for Data visualization
An example of R code for Data visualizationAn example of R code for Data visualization
An example of R code for Data visualization
 
Seminar PSU 09.04.2013 - 10.04.2013 MiFIT, Arbuzov Vyacheslav
Seminar PSU 09.04.2013 - 10.04.2013 MiFIT, Arbuzov VyacheslavSeminar PSU 09.04.2013 - 10.04.2013 MiFIT, Arbuzov Vyacheslav
Seminar PSU 09.04.2013 - 10.04.2013 MiFIT, Arbuzov Vyacheslav
 
Introduction to R
Introduction to RIntroduction to R
Introduction to R
 
ggtimeseries-->ggplot2 extensions
ggtimeseries-->ggplot2 extensions ggtimeseries-->ggplot2 extensions
ggtimeseries-->ggplot2 extensions
 
Plot3D package in R-package-for-3d-and-4d-graph-Data visualization.
Plot3D package in R-package-for-3d-and-4d-graph-Data visualization.Plot3D package in R-package-for-3d-and-4d-graph-Data visualization.
Plot3D package in R-package-for-3d-and-4d-graph-Data visualization.
 
Table of Useful R commands.
Table of Useful R commands.Table of Useful R commands.
Table of Useful R commands.
 
D3.js workshop
D3.js workshopD3.js workshop
D3.js workshop
 
R meets Hadoop
R meets HadoopR meets Hadoop
R meets Hadoop
 
Useful javascript
Useful javascriptUseful javascript
Useful javascript
 
MH prediction modeling and validation in r (2) classification 190709
MH prediction modeling and validation in r (2) classification 190709MH prediction modeling and validation in r (2) classification 190709
MH prediction modeling and validation in r (2) classification 190709
 
Rsplit apply combine
Rsplit apply combineRsplit apply combine
Rsplit apply combine
 
R programming language
R programming languageR programming language
R programming language
 
Some Examples in R- [Data Visualization--R graphics]
 Some Examples in R- [Data Visualization--R graphics] Some Examples in R- [Data Visualization--R graphics]
Some Examples in R- [Data Visualization--R graphics]
 
data-visualization.pdf
data-visualization.pdfdata-visualization.pdf
data-visualization.pdf
 
Aaron Ellison Keynote: Reaching the 99%
Aaron Ellison Keynote: Reaching the 99%Aaron Ellison Keynote: Reaching the 99%
Aaron Ellison Keynote: Reaching the 99%
 
数学カフェ 確率・統計・機械学習回 「速習 確率・統計」
数学カフェ 確率・統計・機械学習回 「速習 確率・統計」数学カフェ 確率・統計・機械学習回 「速習 確率・統計」
数学カフェ 確率・統計・機械学習回 「速習 確率・統計」
 
Python grass
Python grassPython grass
Python grass
 
A bit about Scala
A bit about ScalaA bit about Scala
A bit about Scala
 

Recently uploaded

The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 

Recently uploaded (20)

TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 

Joclad 2010 d

  • 2.
  • 3.
  • 4.
  • 5.
  • 6. plot( ), boxplot( ), hist( )
  • 8.
  • 10. > demo(graphics) # programa de demonstrac˜o ¸a
  • 11. plot( ) - caso unidimensional (base de dados "iris" dispon´vel no R) ı >iris.joclad<-iris >names(iris.joclad)<-c(Comp.S´pala,"Larg.S´pala", e e "Comp.P´tala","Larg.P´tala", "Esp´cies") e e e >plot(Comp.S´pala) e
  • 12. plot( ) >iris.joclad<-iris >names(iris.joclad)<-c(Comp.S´pala,"Larg.S´pala", e e "Comp.P´tala","Larg.P´tala", "Esp´cies") e e e >plot(Comp.S´pala, ylab="Comprimento S´pala (cm)", e e col="red", pch=20, cex=1.4, main="Anderson Iris data")
  • 13. plot( ) - caso bidimensional >iris.joclad<-iris >names(iris.joclad)<-c(Comp.S´pala,"Larg.S´pala","Comp.P´tala", e e e "Larg.P´tala", "Esp´cies") e e >plot(Comp.S´pala,Comp.P´tala) e e
  • 14. plot( ) >iris.joclad<-iris >names(iris.joclad)<-c(Comp.S´pala,"Larg.S´pala","Comp.P´tala", e e e "Larg.P´tala", "Esp´cies") e e >plot(Comp.S´pala,Comp.P´tala, xlab="Comprimento S´pala e e e (cm)", ylab="Comprimento P´tala (cm)", col=3, pch=6) e >abline(lm(Comp.P´tala Comp.S´pala),col=2) e e
  • 15. pairs( ), para matrizes de diagramas de dispers˜o a
  • 16. barplot( ) - unidimensional >require(grDevices) # for colours >tN <- table(Ni <- stats::rpois(1000, lambda=4)) >barplot(tN, col=rainbow(20))
  • 17. barplot( ) - multidimensional >barplot(height = cbind(Jovem = c(465, 91) / 465 * 100, Adulto = c(840, 200) / 840 * 100, Idoso = c(37, 17) / 37 * 100), beside = FALSE, width = c(465, 840, 37), col = c(1, 2), legend.text = c("Antes tratamento", "Ap´s o tratamento"), args.legend = list(x = "topleft"))
  • 19. hist( ) >hist(Comp.P´tala, breaks = "Sturges", + main = e paste("Histograma"), + xlab = "Comprimentos das P´talas e (cm)", ylab="Frequˆncia", + axes = TRUE, plot = TRUE, e ylim=c(0,40), col=c(1,2,3,4,5,6,7,8,9,10,11,12))
  • 21. ¸˜ > demo(lattice) # programa de demonstracao
  • 22. barchart( ) >barchart(peso,variedade | local, data = cevada, groups = ano, layout = c(1,6), stack = TRUE, auto.key = list(points = FALSE, rectangles = TRUE, space = "right"), ylab = "Peso de cevada (Ton./ha)", scales = list(x = list(rot = 45)))
  • 23. densityplot( ) > densityplot( altura | voz, data = cantor, layout = c(2, 4), xlab = "Altura (polegadas)", bw = 5)
  • 24. dotplot( ) > dotplot(variedade,peso | ano * local, data=cevada)
  • 25. histogram( ) >histogram( altura | voz, data = cantor, nint = 17, endpoints = c(59.5, 76.5), layout = c(2,4), aspect = 1, xlab = "Altura (polegadas)")
  • 26. xyplot( ) >xyplot(Comp.P´tala e Larg.P´tala, data=iris, e groups=Esp´cies, auto.key=T) e
  • 27. cloud( ) >par.set <- list(axis.line = list(col = "transparent"), clip = list(panel = "off")) print(cloud(Larg.S´pala e Comp.P´tala * Larg.P´tala, data = iris, cex = .8, groups = e e Esp´cies, screen = list(z = 20, x = -70, y = 3), par.settings = par.set, scales = e list(col = "black")), split = c(1,1,2,1), more = TRUE) print(cloud(Comp.S´pala e Comp.P´tala * Larg.P´tala, data = iris, cex = .8, groups = Esp´cies, screen = list(z e e e = 20, x = -70, y = 0), par.settings = par.set, scales = list(col = "black")), split = c(2,1,2,1))
  • 28. biplot e triplot) > library(agricolae) > library(klaR) > data(Oat2) > startgraph > biplot > model<- AMMI(Oat2[,1], Oat2[,2], Oat2[,3], Oat2[,4],xlim=c(-35,20),ylim=c(-20,20), graph="biplot") > model<- AMMI(Oat2[,1], Oat2[,2], Oat2[,3], Oat2[,4],xlim=c(-35,20),ylim=c(-20,20), graph="biplot",number=FALSE) > triplot > model<- AMMI(Oat2[,1], Oat2[,2], Oat2[,3], Oat2[,4],graph="triplot")