Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
さまざまなグラフ描画(2) / Various graphical representatio...
Search
Kenji Saito
PRO
November 29, 2024
Technology
100
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
さまざまなグラフ描画(2) / Various graphical representations (2)
早稲田大学大学院経営管理研究科「企業データ分析」2024 冬のオンデマンド教材 第8回で使用したスライドです。
Kenji Saito
PRO
November 29, 2024
Transcript
17 slides
Boxes and whiskers — generated by Stable Diffusion XL v1.0
2024 8 (2) (WBS) 2024 8 (2) — 2024-11 – p.1/17
https://speakerdeck.com/ks91/collections/corporate-data-analysis-2024-winter 2024 8 (2) — 2024-11 – p.2/17
( 20 ) 1 • 2 R • 3 •
4 • 5 • 6 ( ) • 7 (1) • 8 (2) • 9 R ( ) (1) 10 R ( ) (2) 11 R ( ) (1) 12 R ( ) (2) 13 GPT-4 14 GPT-4 15 ( ) LaTeX Overleaf 8 (12/16 ) / (2 ) OK / 2024 8 (2) — 2024-11 – p.3/17
y 3D (3 ) 3D 2024 8 (2) — 2024-11
– p.4/17
2 R "yyyy-mm-dd" 1970 1 1 0 ( → :
“Dec 03”) y x 2 cda-demo “ -2.R” Git “ -2.R” 1 2024 8 (2) — 2024-11 – p.5/17
y (1/2) (?) “ .txt” 1 1 <- read.table(" .txt",
header=T) x y par(oma=c(0, 0, 0, 2)) # plot(as.Date( 1$ ), 1$ , type="o", lty=1, pch=1, col=4, ylim=c(0, 8), axes=F, xlab=" (2023 )", ylab=" ", main=" 1 ") axis.Date(1, format="%m/%d") # x ( / )(%m = )(%d = ) ‘as.Date(. . .)’ ( plot ) ‘axis.Date(. . .)’ 1 1 = , 2 = , 3 = , 4 = (‘side’ ) ‘format’ (‘as.Date( . . . )’ ) 2024 8 (2) — 2024-11 – p.6/17
y (2/2) y y y axis(2, line=0.5, col=4) # y
par(new=T) plot(as.Date( 1$ ), 1$ , type="o", lty=2, pch=2, col=2, ylim=c(0, 7), axes=F, ann=F) mtext(" ", side=4, line=3) axis(4, line=0.5, lty=2, col=2) # y par(oma=c(0, 0, 0, 0)) # ‘axis(. . .)’ ‘line’ ‘mtext(. . .)’ 2024 8 (2) — 2024-11 – p.7/17
࠶ࡿ1㐌㛫ࡢணᐃ௳ᩘᣊ᮰㛫 ᪥ (2023ᖺ) ணᐃࡢ௳ᩘ 12/03 12/05 12/07 12/09 0 2
4 6 8 ᣊ᮰ࡉࢀࡓ㛫 0 1 2 3 4 5 6 7 2024 8 (2) — 2024-11 – p.8/17
3D 3 3D × ( ) 3 . . .
2024 8 (2) — 2024-11 – p.9/17
3 (1/2) (3D ) install.packages("scatterplot3d") library(scatterplot3d) 2 2 <- read.table("data-interval-100.txt")
1 a ( ) · 2 ( : %) ( ) 3 ( : %) 2024 8 (2) — 2024-11 – p.10/17
3 (2/2) 3D scatterplot3d(x = 2$V1, y = 2$V2, z
= 2$V3, pch=20, highlight.3d = TRUE, type ="h", lwd = 2, angle = 50, xlab=" a ", ylab=" (%)", zlab=" (%)") ‘scatterplot3d(. . .)’ 3D plot x, y, z ‘highlight.3d’ y ‘angle’ x y 2024 8 (2) — 2024-11 – p.11/17
10 20 30 40 50 0 20 40 60 80
100 0 10 20 30 40 50 ࣃ࣓࣮ࣛࢱa ࡢࡁࡉ ࢹ࣮ࢱᦆኻ⋡ (%) ᚓࡽࢀࡓࢹ࣮ࢱࡢ᳨ドྍ⬟ᛶ (%) 2024 8 (2) — 2024-11 – p.12/17
5 1 3D 5 par(mfrow=c(2, 3)) for (x in 1:5)
{ a <- x * 10 plot( 2[ 2$V1==a, 2], 2[ 2$V1==a, 3], type="o", ylim=c(0, 100), xlab=" (%)", ylab=" (%)", main=paste("a=", a)) } par(mfrow=c(1, 1)) ‘mfrow=c(2, 3)’ 2 3 a 10, 20, 30, 40, 50 5 2024 8 (2) — 2024-11 – p.13/17
0 10 20 30 40 0 20 60 100 a=
10 ࢹ࣮ࢱᦆኻ⋡ (%) 0 10 20 30 40 0 20 60 100 a= 20 ࢹ࣮ࢱᦆኻ⋡ (%) ᳨ドྍ⬟ᛶ 0 10 20 30 40 0 20 60 100 a= 30 ࢹ࣮ࢱᦆኻ⋡ (%) ᳨ドྍ⬟ᛶ 0 10 20 30 40 0 20 60 100 a= 40 ࢹ࣮ࢱᦆኻ⋡ (%) 0 10 20 30 40 0 20 60 100 a= 50 ࢹ࣮ࢱᦆኻ⋡ (%) ᳨ドྍ⬟ᛶ 2024 8 (2) — 2024-11 – p.14/17
. . . 1 for (x in 1:5) { a
<- x * 10 plot( 2[ 2$V1==a, 2], 2[ 2$V1==a, 3], type="o", lty=x, pch=x, col=x, ylim=c(0, 100), xlim=c(0, 50), axes=F, ann=F) par(new=T) } axis(1) axis(2) mtext(" (%)", side=1, line=2) mtext(" (%)", side=2, line=2) legend("bottomleft", legend=c("a=50", "a=40", "a=30", "a=20", "a=10"), lty=5:1, pch=5:1, col=5:1) box() # 2024 8 (2) — 2024-11 – p.15/17
0 10 20 30 40 50 0 20 40 60
80 100 ࢹ࣮ࢱᦆኻ⋡ (%) ᳨ドྍ⬟ᛶ (%) a=50 a=40 a=30 a=20 a=10 2024 8 (2) — 2024-11 – p.16/17
2024 8 (2) — 2024-11 – p.17/17
More Decks by Kenji Saito
See All by Kenji Saito
NPO とは何か(を考えるワールドカフェ) / What Is an NPO? (A World Café Discussion)
ks91
PRO
0
15
講師自己紹介 / Lecturer's Self-Introduction
ks91
PRO
0
15
講師研究紹介 / Faculty Research Profile
ks91
PRO
0
10
FinTech 11-12 : Cyber-Physical Society and Future of Finance
ks91
PRO
0
61
サイバーフィジカル・セキュリティーと人間の安全保障 / Cyber-Physical Security and Human Security
ks91
PRO
0
32
ゼミ紹介 デジタルトランスフォーメーションと経済・金融の未来 / Zemi Introduction : Digital Transformation and the Future of the Economy and Finance
ks91
PRO
0
37
FinTech 9-10 : Smart Contracts and Decentralized Finance
ks91
PRO
0
81
FinTech 7-8 : Blockchain
ks91
PRO
0
84
Fall 2026: A Guide & Workshop on Using AI for Academic Paper Writing
ks91
PRO
1
130
Other Decks in Technology
See All in Technology
人間+AIを「チーム」としてプロセスを再設計する
littlehands
4
3.4k
個人ASを取得して、自宅Kubernetes上のVMをグローバルIPで公開した話
munenick
0
150
SORACOM × AWS IoT Core でSREする
butadora
0
110
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
17
120k
田んぼの見回りをIoTで減らしたい!水位監視から電池駆動カメラまでの試行錯誤
itosoft
1
260
会社説明資料_最新版
demaecan
0
32k
「AIチャットからもできないの?」と言われたら ~業務アプリをMCP対応するときの認証・認可の勘所
oidfj
0
360
少ない人手 限られた予算 それでも守る 消せない・見つける・戻れる オールハザード型BCP on AWS / 20261107 Mitsutoshi Matsuo
shift_evolve
PRO
0
410
Biohub - Cell Tracking During Development 5th place solution
rist
0
170
変更差分を読むために環境を整備しよう
pipepasta
1
450
「任されビリティ」で引き受けて「よしなりてぃ」に頼らず任せる / Accept tasks with "makasarebility" and hand them over without relying on "yoshinarily"
pauli
1
750
Go初心者のクラウドエンジニアが、デプロイを通して旨味を知っていく話
ryudai
1
230
Featured
See All Featured
Darren the Foodie - Storyboard
khoart
PRO
5
4.1k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
380
Into the Great Unknown - MozCon
thekraken
41
2.8k
A designer walks into a library…
pauljervisheath
211
25k
Paper Plane
katiecoart
PRO
6
55k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.3k
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
1.4k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
400
Joys of Absence: A Defence of Solitary Play
codingconduct
1
580
Product Roadmaps are Hard
iamctodd
55
13k
Un-Boring Meetings
codingconduct
0
500
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.8k