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

Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
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
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 

Recently uploaded (20)

Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
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
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
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
 

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")