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

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
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxNikitaBankoti2
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
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
 

Recently uploaded (20)

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
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
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
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptx
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
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
 

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