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
R & R Studio
Search
hujuu
July 23, 2016
Business
4
580
R & R Studio
【第1回】R Business Analysisで使用したRのチュートリアル資料です。RとR Studioのインストール方法や簡単なサンプルコードを載せています。
hujuu
July 23, 2016
Tweet
Share
More Decks by hujuu
See All by hujuu
R&RStudio入門
hujuu
0
670
ggplot2の導入とヒストグラム作成
hujuu
0
500
Other Decks in Business
See All in Business
culturebook_WeddingParkShip
weddingpark
0
570
BrainPad_AC_202411
brainpadpr
2
9.1k
VANISH STANDARD Company Deck
vstandard
PRO
3
22k
【新卒向け】会社説明資料|ROBOTPAYMENT
robot_payment
1
330
merpay-overview_en
mercari_inc
1
17k
株式会社Beer and Tech/HitoHana(ひとはな) 採用資料 2024.11
beerandtech_recruiter
1
590
HireRoo Culture Deck(日本語)
kkosukeee
1
25k
SaaS開発における手戻りを減らすためのリファインメントの実践
bicstone
3
630
Recruiting Deck_株式会社HACHI
hachi_hiring
1
540
STRACT, Inc. Company Deck
stract
0
1.4k
サバノミソニLT‐AWS認定資格合格への道のり
utosun
0
360
IT 未経験者をVue.js で開発できる IT コンサルタントに育てあげる秘訣/ Future's New Employee Training
yut0naga1_fa
0
310
Featured
See All Featured
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
27
840
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
16
2.1k
Designing Experiences People Love
moore
138
23k
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.5k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
26
2.1k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
131
33k
Unsuck your backbone
ammeep
668
57k
Why You Should Never Use an ORM
jnunemaker
PRO
54
9.1k
Building Adaptive Systems
keathley
38
2.3k
Adopting Sorbet at Scale
ufuk
73
9.1k
Bash Introduction
62gerente
608
210k
Transcript
R & R STUDIO ʲୈ1ճʳR BUSINESS ANALYSIS
R Business Analysis ͡Ίʹ • RͷֶशใަΛ͢ΔձΛ͡Ί·ͨ͠ʂ • ϏδωεɺϚʔέςΟϯάدΓઢͰͷR׆༻ • গਓϕʔεͷࢀՃܕίϛϡχςΟ
• connpassάϧʔϓʹ͝ࢀՃΛ!!
R Business Analysis ͻͱ·ͣࣗݾհ • Rྺ • 1͘Β͍ • େֶ
3ϲ݄ • ࣾձਓ 8ϲ݄ • ౘ • δϣϒϗούʔٙ • స৬૬ஊडத!! @hujuu
R Business Analysis RͲΜͳݴޠʁ ౷ܭղੳ͚ͷϓϩάϥϛϯάݴޠ ؔܕݴޠͷҰͭͰ͋ΔSchemeͷӨڹΛड͚͍ͯΔ ·ͨදه๏CʹӨڹΛड͚͍ͯΔ෦͋Δ webܥͷRubyPHP, javascriptͱ͍ͬͨݴޠͱ༻్ త͕ҧ͏ͷͰ࠷ॳͪΐͬͱΠϝʔδ͕༙͖ʹ͍͔͘
4
R Business Analysis ൺֱ༰ OS Mac,Windows,Linux WindowsϝΠϯ Macͩͱੳػೳ͕ෆࣗ༝ ॲཧ ˚
X ѻ͑Δσʔλྔ ʓ (150ສߦͷಡΈࠐΈՄೳ) X (1,048,576 ߦɺ16,384 ྻ) ֦ுੑ ʓ ˚ GUI ˚ ʓ Ձ֨ ແྉ ༗ྉʢ݄ઍԁʙʣ ར༻༻్ ౷ܭղੳ දܭࢉࢿྉ࡞ͳͲଟ༷
R Business Analysis • ॲཧ͕༏Ε͍ͯΔͨΊɺେنσʔλΛੳ͢Δࡍޮత • ExcelͰͰ͖ͳ͍౷ܭੳ͕ग़དྷΔ • ྫ :
Ϋϥελʔੳ, όεέοτੳ(ΞιγΤʔγϣϯੳ) • ༷ʑͳύοέʔδΛ׆༻͢Δ͜ͱͰੳͷ෯͕͛ΒΕΔ • άϥϑͷඳըʹڧ͍ • ggplot2ͰͷάϥϑԽࣗ༝͕ߴ͘ɺࢹೝੑ͕ߴ͍σβΠϯ ɹɹɹͷओͳϝϦοτ
R Business Analysis EXCEL͚ͩͰेͳέʔε • σʔλྔ͕খ͍͞ • ࢛ଇܭࢉΛத৺ͱͨ͠ॲཧͰࣄΓΔ • ఆৗతͳੳۀ͕ൃੜ͠ͳ͍
• ଞͷਓʹσʔλܗੳΛͯ͠Β͏߹ɹɹɹ ˢɹҙ֎ͱ͋Δ
R Business Analysis ɹɹɹͷΠϯετʔϧ 1. CRANʢThe Comprehensive R Archive NetworkʣʹΞΫηε
https://cran.r-project.org/ 2. ༻͍ͯ͠ΔOSʹ͋ΘͤͯRͷΠϯετʔϥʔΛμϯϩʔυ ޙͰ͏ύοέʔδ͕ಈ͔ͳ͍͜ͱ͕ແ͍Α͏ʹ࠷৽൛Λ 3. μϯϩʔυͨ͠ϑΝΠϧΛ։͍ͯΠϯετʔϧ 4. ΞϓϦέʔγϣϯϑΥϧμʹʮRʯ͕͋ΕΠϯετʔϧྃ
R Business Analysis
R Business Analysis αϯϓϧίʔυ 2 ^ 5 a <- 100
b <- 2 a * b list <- c(2,4,6,8,10) list
R Business Analysis ͷΠϯετʔϧ 1. ͍ΘΏΔRͷIDE (౷߹։ൃڥ)Ͱ͢ɻ RͷεΫϦϓτϑΝΠϧɺ࣮ߦconsoleɺάϥϑεϖʔεɺಡΈࠐΜ ͩσʔλͷҰཡͳͲ͕ݟ͘͢ஔ͞Ε·͢ 2.
R studioͷΠϯετʔϥΛμϯϩʔυ https://www.rstudio.com/products/rstudio/download/ 3. μϯϩʔυͨ͠ΠϯετʔϥΛ։͍ͯΠϯετʔϧ 4. ΞϓϦέʔγϣϯϑΥϧμʹʮR studioʯ͕͋ΕΠϯετʔϧྃ
R Business Analysis
R Business Analysis • ίʔσΟϯάதͷೖྗิॿ͕ڧ͍ • άϥϑͷΞτϓοτ͕͍͢͠ • ΤσΟλͷจࣈ৭ͱഎܠΛฤू͠ ͯɺݟ͍͢ઃఆʹͰ͖Δ
• ෳͷεΫϦϓτϑΝΠϧΛλϒͰ ։͍͓͚ͯΔ • ύοέʔδϦετͷӾཡσΟϨΫ τϦϑΝΠϧͷ֬ೝͳͲ͕Ͱ͖Δ ͷϝϦοτ
R Business Analysis άϥϑΛॻ͍ͯΈΑ͏ʂ x <- 1:10 y <- 1:10
plot(x, y) # x࣠Λ10͔Β1ͷฒͼํʹ͢Δ plot(x, y, xlim=c(10,1))