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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
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
Kansai WordPress Meetup@大阪『ブロックテーマを作る上で知っておくべきこと
torounit
0
220
Context parameters で作る!はじめての型クラス
kworkdev
PRO
1
150
AIで実装が加速したのに、 なぜ私は仕事の大半で人と話し続けていたのか?
say_no_w
0
180
MCPでネットワーク障害調査を自動化する前に直すべき3つのこと
yama3133
1
520
AI時代における医療情報システムのセキュリティ / Security of Healthcare IT Systems in the AI Era
henryofficial
0
190
3文字略語に騙されない! 世界一わかりやすい『EDR』超入門
kamadamakoto
1
240
AWS基盤改善を支える 私たちの理念と行動指針
kentosuzuki
0
240
Go初心者のクラウドエンジニアが、デプロイを通して旨味を知っていく話
ryudai
1
230
会社説明資料_最新版
demaecan
0
32k
田んぼの見回りをIoTで減らしたい!水位監視から電池駆動カメラまでの試行錯誤
itosoft
1
260
落とし穴にハマってわかった 開発生産性を測るときに気をつけたいこと
munakata
3
360
IoTのデータ保存をSREの観点で考える
grimoh
1
110
Featured
See All Featured
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
490
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
610
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
1.4k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.9k
Marketing to machines
jonoalderson
1
6k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.8k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.8k
The agentic SEO stack - context over prompts
schlessera
0
1k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
4
4.4k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.6k