$30 off During Our Annual Pro Sale. View Details »
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
データフレームと代表値 / Data frame and representative values
Search
Kenji Saito
PRO
November 28, 2024
Technology
0
1
データフレームと代表値 / Data frame and representative values
早稲田大学大学院経営管理研究科「企業データ分析」2024 冬のオンデマンド教材 第2回で使用したスライドです。
Kenji Saito
PRO
November 28, 2024
Tweet
Share
More Decks by Kenji Saito
See All by Kenji Saito
講師自己紹介 / Self-Introduction of the Lecturer
ks91
PRO
0
3
R をインストールする / Installing R
ks91
PRO
0
8
組織とデータ分析/統計的仮説検定 / Organization, data analysis and statistical hypothesis testing
ks91
PRO
0
7
発表と総括 / Presentations and Summary
ks91
PRO
0
18
市民科学にAI はどう活用できるか / How AI Can Be Used for Citizen Science
ks91
PRO
0
14
グリーンマイニングが Bitcoin プロトコルに及ぼす影響 / Impact of Green Mining on the Bitcoin Protocol
ks91
PRO
0
22
FinTech 13-14 : Ideathon, Presentations and Conclusions
ks91
PRO
0
60
デザイン相談会 / Design Consultation
ks91
PRO
0
15
FinTech 11-12 : Cyber-Physical Society and Future of Finance
ks91
PRO
0
60
Other Decks in Technology
See All in Technology
MTDDC Meetup TOKYO 2024 運用フェーズに突入したウェブサイト。年々コスト増えていませんか?
kurashige
0
100
電話を切らさない技術 電話自動応答サービスを支える フロントエンド
barometrica
2
1.5k
『Firebase Dynamic Links終了に備える』 FlutterアプリでのAdjust導入とDeeplink最適化
techiro
1
280
CDCL による厳密解法を採用した MILP ソルバー
imai448
5
410
Flutterによる 効率的なAndroid・iOS・Webアプリケーション開発の事例
recruitengineers
PRO
0
190
2024年のAmazon Bedrockアップデート一挙おさらい 〜まだ間に合う! re:Invent直前までの重大ニュースを速習しよう〜
minorun365
PRO
3
120
Mastering Quickfix
daisuzu
2
390
New Relicを活用したSREの最初のステップ / NRUG OKINAWA VOL.3
isaoshimizu
3
730
10XにおけるData Contractの導入について: Data Contract事例共有会
10xinc
7
760
50以上のマイクロサービスを支えるアプリケーションプラットフォームの設計・構築の後悔と進化 #CNDW2024 / regrets and evolution of application platform
toshi0607
3
240
SDNという名のデータプレーンプログラミングの歴史
ebiken
PRO
2
260
SAP Community and Developer Update
sygyzmundovych
0
350
Featured
See All Featured
Rebuilding a faster, lazier Slack
samanthasiow
79
8.7k
Navigating Team Friction
lara
183
14k
Teambox: Starting and Learning
jrom
133
8.8k
GitHub's CSS Performance
jonrohan
1030
460k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
131
33k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
25
1.8k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
10
740
Fashionably flexible responsive web design (full day workshop)
malarkey
405
65k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
27
2.1k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
250
21k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.2k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
506
140k
Transcript
Boxes and whiskers — generated by Stable Diffusion XL v1.0
2024 3 (WBS) 2024 3 — 2024-11 – p.1/18
https://speakerdeck.com/ks91/collections/corporate-data-analysis-2024-winter 2024 3 — 2024-11 – p.2/18
( 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 3 — 2024-11 – p.3/18
2024 3 — 2024-11 – p.4/18
RStudio (1) Project New Project. . . (2) New Directory
→ New Project (3) Directory name Create Project ( ) 2024 3 — 2024-11 – p.5/18
( ) ( ) ( ) Excel 2024 3 —
2024-11 – p.6/18
: > <- c(" ", " ", " ") >
<- c(80, 78, 90) > <- c(88, 72, 95) > <- data.frame( , , ) > # 1 80 88 2 78 72 3 90 95 > [3,] # 3 > [,3] # 3 > [3,3] # 3 3 > $ # 3 ( [,3] ) > attach( ) “ $” 2024 3 — 2024-11 – p.7/18
2024 3 — 2024-11 – p.8/18
(1) Dropbox data “ .txt” (2) (RStudio )( ) (3)
RStudio > <- read.table(" .txt", header=T) > par(pty="s") # (square) > plot( ) # > plot( , xlim=c(0, 100), ylim=c(0, 100)) # 0 100 ‘read.table(. . .)’ ‘header=T’ (T True) ( ) ‘par(. . .)’ 2024 3 — 2024-11 – p.9/18
” .txt” " " " " 96 65 35 36
26 30 32 50 91 66 47 22 73 59 67 70 52 18 68 79 37 46 41 64 77 74 86 92 . . . ( ) 100 R 2024 3 — 2024-11 – p.10/18
(Ubuntu ) . . . (1) Tools → Global Options.
. . (2) Options Graphics (3) Graphics Device Backend “Cairo” OK Export → Save as PDF. . . Options “Use cairo_pdf device” Ubuntu Cairo https://www.cairographics.org GPL 2024 3 — 2024-11 – p.11/18
2024 3 — 2024-11 – p.12/18
(macOS ) R console > capabilities()[c("cairo", "X11")] . . .
cairo FALSE ( ) X11 FALSE X11 https://www.xquartz.org pkg (X11 XQuartz macOS ) . . . (1) Tools → Global Options. . . (2) Options Graphics (3) Graphics Device Backend “Cairo” OK Export → Save as PDF. . . Options “Use cairo_pdf device (requires X11)” 2024 3 — 2024-11 – p.13/18
(Windows ) . . . (1) Tools → Global Options.
. . (2) Options Graphics (3) Graphics Device Backend “Cairo” OK Export → Save as PDF. . . Options “Use cairo_pdf device” ( ) > par(family="Japan1") R > par(pty="s") > ( ) 2024 3 — 2024-11 – p.14/18
. . . Graphics Device Backend “Cairo” “AGG” ragg AGG
( GPL) ragg AGG R JPEG PNG PDF/EPS 2024 3 — 2024-11 – p.15/18
2024 3 — 2024-11 – p.16/18
” .txt” “ ” > mean( $ ) # >
median( $ ) # > summary( ) # ( , 1 , , , 3 , ) Min. : 19.00 Min. : 7.00 1st Qu.: 44.75 1st Qu.:38.00 Median : 59.00 Median :53.00 Mean : 59.06 Mean :51.73 3rd Qu.: 73.00 3rd Qu.:66.00 Max. :100.00 Max. :94.00 > sd( $ ) # 1 (quartile) 1 4 , 3 3 4 ( 2 = ) 2024 3 — 2024-11 – p.17/18
2024 3 — 2024-11 – p.18/18