plot type type= n text plot type= n text(x,y) iris 5 iris iris.label >iris.label<-rep(c(,, ),rep(50,3)) 2 13 >plot(iris[,1],iris

Similar documents
「統 計 数 学 3」

Microsoft PowerPoint - R-intro-02.ppt

PackageSoft/R-033U.tex (2018/March) R:

1 R Windows R 1.1 R The R project web R web Download [CRAN] CRAN Mirrors Japan Download and Install R [Windows 9

DAA04

本文/020:デジタルデータ P78‐97

untitled

untitled


2 R : R R [ 1.1] [ 2.1] R R R plot() contour() 2

28 9

講義のーと : データ解析のための統計モデリング. 第2回

掲示用ヒート表 第34回 藤沢市長杯 2017

Microsoft PowerPoint _秀英体の取組み素材(予稿集).ppt

インターネットを活用した経済分析 - フリーソフト Rを使おう

RとExcelを用いた分布推定の実践例

★結果★ 藤沢市長杯 掲示用ヒート表

無印良品のスキンケア




2

講義のーと : データ解析のための統計モデリング. 第3回

SXF Converter for DWG 2004/ SXFデータトランスレータ 2004 注意事項

第三学年  総合的な学習の指導案(国際理解・英語活動)

TM2018 講習会資料 MTMineR を用いたテキストマイニングの基礎 同志社大学文化情報学研究科データサイエンス研究室 目次 1. イントロダクション テキストマイニングのプロセス 2. R 言語基礎 R 言語 環境 R データ型と構造 グラフィックスの作成 基礎統計解析 外部データ読み込み

sarupaw.dvi

tottori2013-print.key

GraphicsWithPlotFull.nb Plot[{( 1), ( ),...}, {( ), ( ), ( )}] Plot Plot Cos x Sin x, x, 5 Π, 5 Π, AxesLabel x, y x 1 Plot AxesLabel

Specview Specview Specview STSCI(Space Telescope SCience Institute) VO Specview Web page htt

なぜRでグラフを 書 くの? 1.グラフがきれい 2. 書 き 直 しが 簡 単 3. 同 じようなグラフを 簡 単 に 書 ける

Windows (L): D:\jyugyou\ D:\jyugyou\ D:\jyugyou\ (N): en2 OK 2


サンプル CSS OutlineAnimation.html の説明 HTML の記述 (OutlineAnimation.html) id 属性 stage の div 要素を作り その中に div 要素でボックスを記述します id 属性 div1 の div 要素を記述し 中にテキストで Out


Step 1 Feature Extraction Featuer Extraction Feature Extraction Featuer Extraction Image Analysis Start>Programs>Agilent-Life Sciences>Feature Extract

Microsoft Word - RMD_75.doc


New version (2.15.1) of Specview is now available Dismiss Windows Specview.bat set spv= Specview set jhome= JAVA (C:\Program Files\Java\jre<version>\

<4D F736F F F696E74202D BD95CF97CA89F090CD F6489F18B4195AA90CD816A>


~/WWW-local/compIID (WWW IID ) $ mkdir WWW-local $ cd WWW-local $ mkdir compiid 3. Emacs index.html n (a) $ cd ~/WWW/compIID


2 I I / 61

タイの食品市場(国庫用)訂正.PDF

_TJ…X…g†[…fi_0216

kubostat2017c p (c) Poisson regression, a generalized linear model (GLM) : :

L P y P y + ɛ, ɛ y P y I P y,, y P y + I P y, 3 ŷ β 0 β y β 0 β y β β 0, β y x x, x,, x, y y, y,, y x x y y x x, y y, x x y y {}}{,,, / / L P / / y, P

ProVisionaire Control V3.0セットアップガイド

CONTENTS Chapter1 Chapter2 Chapter3

本文/報告2

Цифровой спутниковый ресивер Lumax DV 2400 IRD

LP-Z5

Transcription:

23 2 2 R iris 1 3 plot >plot(iris[,1],iris[,3]) 11 iris[, 3] 1 2 3 4 5 6 7 iris[, 3] 1 2 3 4 5 6 7 119 106 118 123 108 132 101 110 103 104 105 126 131 136 144 109 125 145121 130 135137 129 133 141 138 117 113 149 112 116 140 146 114 102 115 143 150 84 111 122 120 128124 147 134 148 73 78 142 53 7139 64 74 127 57 87 77 51 92 559 107 85 91 6756 86 79 69 88 52 66 98 75 76 9596 97 62 60 90 54 89 100 68 70 83 93 63 72 81 82 65 61 80 5894 99 25 45 24 21 6 19 9 4 3031 12 44 26 2747 48 7 46 13 35 38 10 250 5 840 18 20 22 1 28 29 334911 32 34 16 43 3942 3 41 1737 14 36 15 23 4.5 5.0 5.5 6.0 6.5 7.0 7.5 8.0 iris[, 1] 4.5 5.0 5.5 6.0 6.5 7.0 7.5 8.0 iris[, 1] 11 12 2 12 >plot(iris[,1],iris[,3],type="n") >text(iris[,1],iris[,3]) 1

plot type type= n text plot type= n text(x,y) iris 5 iris 150 50 51 100 101 150 iris.label >iris.label<-rep(c(,, ),rep(50,3)) 2 13 >plot(iris[,1],iris[,3],type="n") >text(iris[,1],iris[,3],iris.label) iris[, 3] 1 2 3 4 5 6 7 4.5 5.0 5.5 6.0 6.5 7.0 7.5 8.0 iris[, 1] 13 2

13 ( ) setosa versicolorvirginica 2 setosa plot 3 3 plot plot(x, y, xlim=range(x), ylim=range(y), type="p", main, xlab, ylab ) x y xlim ylim type main xlab ylab cex "p" "l" "b" "c" "h" "n" () x ( ) y ( ) 3 14 >plot(iris[,1],iris[,3],type="p",xlab="length of epal", ylab="length of Petal",cex=2, col= red ) 4 iris 15 >plot(iris[,1],iris[,3],pch = 21, cex=2,bg = c(2, 3, 4)[unclass(iris$pecies)]) pch = 21 bg = c(2, 3, 4) 3 ( ) [unclass(iris$pecies)] iris pecies Iris 3 50 setosa 2 (red)51100 versicolor 3 (green)101150 virginica 4 (blue) plot cex 3

>par(cex=0.8) cex 0.8 0.8 par 4 14 15 4par par(cex=,pch=, mfrow=, col=,) cex= pch=n ( ) 0 1 16 pch mfrow=c(m,n) m n c(1,1) mfcol=c(m,n) m n c(1,1) bg= col= 1 col=red col=2 () lty= 2 lwd= 1 6 pch pch=1 4

16 pch 2 1 iris iris >pairs(iris[1:4]) pairs(iris[1:4], pch = 21, bg = c("red", "green3", "blue")[unclass(iris$pecies)]) 5

17iris pch = 21 bg = c("red", "green3", "blue") [unclass(iris$pecies)] pecies 3 3 3 18 3 6

183 latticescatterplot3d 3 Package lattice [OK] library(lattice) [Enter] lattice R lattice 3 iris 19 >library(lattice) >cloud(iris[,1]~iris[,2]*iris[,3],col= blue,pch=19,data = iris) 19 iris 3 1 7

cloud cloud(formula,data) data z ~ x * y z x,y ~ 20 >cloud(epal.length ~ Petal.Length * Petal.Width, data = iris,groups = pecies) groups 20 pch=c(16,17,18),col=c(1,2,4) 20 iris 3 2 3 screen = list(z =, x=,y = ) screen = list(z = 0, x=10,y =-15 ) 21 3 graphics persp 2 2 z = y x 5 x 5 5 y 5 >x <- seq(-5, 5, length=50) >y <- x >f <- function(x,y) {r <- (y^2)-(x^2)} >z <- outer(x, y, f) >persp(x, y, z,theta = 60,phi = 25,expand = 0.8,shade=.01,col = "lightblue") 8

persp >data(volcano) >z <- 5 * volcano # 5 >x <- 10 * (1:nrow(z)) # 10 >y <- 10 * (1:ncol(z)) # 10 >par(bg = "skyblue") # >persp(x, y, z, theta = 115, phi = 20, col = "lightgreen", scale = FALE,ltheta = -120, shade = 0.75, border = NA, box = FALE) 23volcano 3 9

graphics contourfilled.contour image lattice >contour(volcano,main="contour(volcano) ") >image(volcano,main="image(volcano) ") contour(volcano) 25image(volcano) >image(volcano,main="image(volcano) n contour(volcano,add=t) n ") >contour(volcano,add=t) 10

26 image contour >filled.contour(volcano, color = terrain.colors) >levelplot(volcano,main="levelplot(volcano) n ") 27 filled.contour 28 levelplot 11