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
データフレームと代表値 / Data frame and representative values
Search
Kenji Saito
PRO
November 28, 2024
Technology
95
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
データフレームと代表値 / Data frame and representative values
早稲田大学大学院経営管理研究科「企業データ分析」2024 冬のオンデマンド教材 第3回で使用したスライドです。
Kenji Saito
PRO
November 28, 2024
Transcript
18 slides
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
More Decks by Kenji Saito
See All by Kenji Saito
FinTech 13-14 : FinTech Ideathon, Presentations and Conclusions
ks91
PRO
0
14
ミッション / Mission
ks91
PRO
0
14
リーダーシップ / Leadership
ks91
PRO
0
9
NPO とは何か(を考えるワールドカフェ) / What Is an NPO? (A World Café Discussion)
ks91
PRO
0
30
講師自己紹介 / Lecturer's Self-Introduction
ks91
PRO
0
27
講師研究紹介 / Faculty Research Profile
ks91
PRO
0
23
FinTech 11-12 : Cyber-Physical Society and Future of Finance
ks91
PRO
0
68
サイバーフィジカル・セキュリティーと人間の安全保障 / Cyber-Physical Security and Human Security
ks91
PRO
0
38
ゼミ紹介 デジタルトランスフォーメーションと経済・金融の未来 / Zemi Introduction : Digital Transformation and the Future of the Economy and Finance
ks91
PRO
0
42
Other Decks in Technology
See All in Technology
信頼性を犠牲にせず、PR マージからデプロイまで人の介入を完全にゼロにするまでの道のり
knwoop
2
1.4k
ぼくのClaude Codeの使い方
falken
PRO
5
7.6k
2026-11-16 JAWS-UG コンテナ支部 #31 ゆるLT大会 ECR のライフサイクルポリシーを いい感じに設定したい / ECR Lifecycle policy
masasuzu
3
580
自動計装なしでECSサービスをApplication Signalsに載せるまで
ota1022
2
440
AI-Ready なデータ基盤ってなに? & 新卒未経験が、いま考えていること
imuta
0
990
ノードが消える前提で設計する!Karpenterで金融システムを止めないためのノウハウ大全
daitak
1
150
Biohub - Cell Tracking During Development 5th place solution
rist
0
180
Kansai WordPress Meetup@大阪『ブロックテーマを作る上で知っておくべきこと
torounit
0
260
CloudTrail を推したい
kazzpapa3
1
150
農家は秘伝のタレを知らない - NOBODY KNOWS THE HIDDEN SOURCE - Kaggriculture 3rd Place Solution
masspeaks
3
600
攻撃と守りは何が変わり、何が変わらないのか~最近の不正アクセスから考える、リスク評価と標準の使いどころ
oidfj
2
250
認知負荷の減らし方 ~開発にも日常業務にも活かせるノウハウ~
minorun365
PRO
9
7.8k
Featured
See All Featured
Bash Introduction
62gerente
615
220k
Large-scale JavaScript Application Architecture
addyosmani
516
110k
Mind Mapping
helmedeiros
1
440
Become a Pro
speakerdeck
PRO
31
6.4k
Facilitating Awesome Meetings
lara
57
7.2k
Navigating Weather and Climate Data
rabernat
0
600
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
540
4 Signs Your Business is Dying
shpigford
187
23k
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
640
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.8k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
480