SlideShare uma empresa Scribd logo
1 de 36
Baixar para ler 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

Mais conteúdo relacionado

Mais procurados

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
 

Mais procurados (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
 

Destaque

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
 

Destaque (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
 

Semelhante a 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
 

Semelhante a 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
 

Último

4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptx4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptxmary850239
 
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQ-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQuiz Club NITW
 
4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptxmary850239
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4JOYLYNSAMANIEGO
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxGrade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxkarenfajardo43
 
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptxDIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptxMichelleTuguinay1
 
Indexing Structures in Database Management system.pdf
Indexing Structures in Database Management system.pdfIndexing Structures in Database Management system.pdf
Indexing Structures in Database Management system.pdfChristalin Nelson
 
Oppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmOppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmStan Meyer
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...Nguyen Thanh Tu Collection
 
MS4 level being good citizen -imperative- (1) (1).pdf
MS4 level   being good citizen -imperative- (1) (1).pdfMS4 level   being good citizen -imperative- (1) (1).pdf
MS4 level being good citizen -imperative- (1) (1).pdfMr Bounab Samir
 
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptxDecoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptxDhatriParmar
 
CHEST Proprioceptive neuromuscular facilitation.pptx
CHEST Proprioceptive neuromuscular facilitation.pptxCHEST Proprioceptive neuromuscular facilitation.pptx
CHEST Proprioceptive neuromuscular facilitation.pptxAneriPatwari
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxlancelewisportillo
 
ICS 2208 Lecture Slide Notes for Topic 6
ICS 2208 Lecture Slide Notes for Topic 6ICS 2208 Lecture Slide Notes for Topic 6
ICS 2208 Lecture Slide Notes for Topic 6Vanessa Camilleri
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxBIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxSayali Powar
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Projectjordimapav
 

Último (20)

4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptx4.11.24 Mass Incarceration and the New Jim Crow.pptx
4.11.24 Mass Incarceration and the New Jim Crow.pptx
 
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQ-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
 
4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxGrade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
 
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptxDIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
 
Indexing Structures in Database Management system.pdf
Indexing Structures in Database Management system.pdfIndexing Structures in Database Management system.pdf
Indexing Structures in Database Management system.pdf
 
Oppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmOppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and Film
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
 
MS4 level being good citizen -imperative- (1) (1).pdf
MS4 level   being good citizen -imperative- (1) (1).pdfMS4 level   being good citizen -imperative- (1) (1).pdf
MS4 level being good citizen -imperative- (1) (1).pdf
 
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptxDecoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
Decoding the Tweet _ Practical Criticism in the Age of Hashtag.pptx
 
CHEST Proprioceptive neuromuscular facilitation.pptx
CHEST Proprioceptive neuromuscular facilitation.pptxCHEST Proprioceptive neuromuscular facilitation.pptx
CHEST Proprioceptive neuromuscular facilitation.pptx
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
 
ICS 2208 Lecture Slide Notes for Topic 6
ICS 2208 Lecture Slide Notes for Topic 6ICS 2208 Lecture Slide Notes for Topic 6
ICS 2208 Lecture Slide Notes for Topic 6
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
prashanth updated resume 2024 for Teaching Profession
prashanth updated resume 2024 for Teaching Professionprashanth updated resume 2024 for Teaching Profession
prashanth updated resume 2024 for Teaching Profession
 
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxBIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Project
 

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