Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
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, 2023
Business
0
170
データフレームと代表値 / Data Frame and Representative Values
早稲田大学大学院経営管理研究科「企業データ分析」2023 冬のオンデマンド教材 第3回で使用したスライドです。
Kenji Saito
PRO
November 28, 2023
Tweet
Share
More Decks by Kenji Saito
See All by Kenji Saito
成果と意思決定 / Performance and Making Decisions
ks91
PRO
0
48
ボランティア / Volunteers
ks91
PRO
0
39
理事会 / Board of Directors
ks91
PRO
0
38
成果 / Achievements
ks91
PRO
0
39
意思決定 / Decision-Making
ks91
PRO
0
33
ファンディングとデジタル市民社会 / Funding and Digital Civil Society
ks91
PRO
0
53
生成AI による論文執筆サポート・ワークショップ 論文執筆・推敲編 / Generative AI-Assisted Paper Writing Support Workshop: Drafting and Revision Edition
ks91
PRO
0
85
私たちの前提は揺るがないのか / Are Our Premises Unshakeable?
ks91
PRO
0
47
貨幣無き世界への過程 / The Process Towards a World without Money
ks91
PRO
0
43
Other Decks in Business
See All in Business
株式会社FormX 会社紹介資料
formx_pr
0
230
株式会社メディアドゥ 採用ピッチ資料
mediado
0
760
三井物産グループのデジタル証券〜千代田区・レジデンス〜徹底解説セミナー
c0rp_mdm
PRO
0
1.8k
対立を超えてビジネス、開発、顧客が本当に欲しかったものを全両立するプロダクト組織の作り方/trade-off basic rsgt2026
moriyuya
1
280
NicoScan - 領収書・請求書をAI-OCRでExcel自動変換
raimiura
1
290
Где вы ошибётесь и что с этим сделать
alexanderbyndyu
0
310
株式会社アペルザ_中途採用向け会社紹介資料
hr_team_aperza
4
140k
数字で見る松岡会計事務所
wf714201
0
300
㈱サンエー 会社 採用資料
uemura2024
0
390
YassLab (株) サービス紹介 / Introduction of YassLab
yasslab
PRO
2
41k
インキュデータ会社紹介資料
okitsu
3
48k
生成AI専任営業が語るre:Inventで発表された生成AIアップデート情報
suzakiyoshito
0
250
Featured
See All Featured
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
34
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
0
34
Leading Effective Engineering Teams in the AI Era
addyosmani
9
1.4k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
110
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
34k
SEO for Brand Visibility & Recognition
aleyda
0
4.1k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
330
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
75
Why Our Code Smells
bkeepers
PRO
340
58k
The World Runs on Bad Software
bkeepers
PRO
72
12k
Automating Front-end Workflow
addyosmani
1371
200k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
170
Transcript
generated by Stable Diffusion XL v1.0 2023 3 (WBS) 2023
3 — 2023-11 – p.1/18
https://speakerdeck.com/ks91 2023 3 — 2023-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/14 ) / (2 ) OK / 2023 3 — 2023-11 – p.3/18
2023 3 — 2023-11 – p.4/18
RStudio (1) Project New Project. . . (2) New Directory
→ New Project (3) Directory name Create Project ( ) 2023 3 — 2023-11 – p.5/18
( ) ( ) ( ) Excel 2023 3 —
2023-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( ) “ $” 2023 3 — 2023-11 – p.7/18
2023 3 — 2023-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(. . .)’ 2023 3 — 2023-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 2023 3 — 2023-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 2023 3 — 2023-11 – p.11/18
2023 3 — 2023-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)” 2023 3 — 2023-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") > ( ) 2023 3 — 2023-11 – p.14/18
. . . Graphics Device Backend “Cairo” “AGG” ragg AGG
( GPL) ragg AGG R JPEG PNG PDF/EPS 2023 3 — 2023-11 – p.15/18
2023 3 — 2023-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 = ) 2023 3 — 2023-11 – p.17/18
2023 3 — 2023-11 – p.18/18