Rによる計量分析:データ解析と可視化 - 第2回 セットアップ

Size: px
Start display at page:

Download "Rによる計量分析:データ解析と可視化 - 第2回 セットアップ"

Transcription

1 R [email protected] October 16, 2017

2 Outline 1 ( ) 2 R RStudio 3 4 R (Toyama/NIHU) R October 16, / 34

3 R RStudio, R PC ( ) ( ) (Toyama/NIHU) R October 16, / 34

4 R ( ) R ( ) (Toyama/NIHU) R October 16, / 34

5 PC ( ) PC LAN ( 2 ) (1) R ( ) (2) ( ) (3) 3 ( ) (Toyama/NIHU) R October 16, / 34

6 10/30 (Mon.) 1/9 (Tue.) (Toyama/NIHU) R October 16, / 34

7 Gelman, A & J Hill Data analysis using regression and multilevel/hierarchical models. Cambridge: Cambridge University Press 2016 R Imai, K Quantitative social science: An introduction. Princeton, NJ: Princeton University Press ( 12 ) ( ) (Toyama/NIHU) R October 16, / 34

8 R URL: /r_2017/ 19:00 (Toyama/NIHU) R October 16, / 34

9 (10/16) 10/9 (Mon.) ( ) 10/16 (Mon.) ( PC) R, RStudio OS Linux, macos, Windows Command + S, Command + Shift + K (macos), Control + C, Control + Shift + N (Windows) OS ( ) (Toyama/NIHU) R October 16, / 34

10 R 2 1 source 2 1 (Homebrew, macpors ) Download R CRAN (Comprehensive R Archive Network) 4 0-Cloud ( ) ( ) (Toyama/NIHU) R October 16, / 34

11 (Toyama/NIHU) R October 16, / 34

12 Download R (Toyama/NIHU) R October 16, / 34

13 (Toyama/NIHU) R October 16, / 34

14 R CRAN 1 OS 2 R (Toyama/NIHU) R October 16, / 34

15 RStudio R Studio R IDE ( ) R + α (e.g., ) R RStudio Emacs, Sublime Text ( R ) (Toyama/NIHU) R October 16, / 34

16 RStudio Download RStudio 3 RStudio Desktop Open Source License Download 4 Installers for Supported Platforms OS 5 (Toyama/NIHU) R October 16, / 34

17 (Toyama/NIHU) R October 16, / 34

18 RStudio Desktop Open Source License (Toyama/NIHU) R October 16, / 34

19 Installers for Supported Platforms (Toyama/NIHU) R October 16, / 34

20 R R RStudio +α CRAN 10,000 1 GUI ( ) ( ) 2 (Toyama/NIHU) R October 16, / 34

21 CRAN N new packages released Year Data scraped from CRANberries ( as of October 15, 2017) (Toyama/NIHU) R October 16, / 34

22 GUI GUI RStudio 1 RStudio Tools (, ) 2 Install Packages 3 (1) Install from Repository (CRAN) (2) Install dependencies 4 Packages devt 5 devtools Install (Toyama/NIHU) R October 16, / 34

23 (Toyama/NIHU) R October 16, / 34

24 (Toyama/NIHU) R October 16, / 34

25 (Toyama/NIHU) R October 16, / 34

26 RStudio library() R 1 RStudio Console ( ) 2 lib library(d) 3 library(devtools) enter 4 ok 1 > library(devtools) (Toyama/NIHU) R October 16, / 34

27 (Toyama/NIHU) R October 16, / 34

28 (Toyama/NIHU) R October 16, / 34

29 (Toyama/NIHU) R October 16, / 34

30 ( ) GUI 100 ( ) R(Studio) ( ) 1 ( education/education_2017/r_2017/) 2 R R MARKDOWN 3 install_packages_fall_1016_2017.r.r (.r) R (Toyama/NIHU) R October 16, / 34

31 ( ) 1 install_packages_fall_1016_2017.r RStudio R RStudio.R RStudio 2 RStudio (preferences) RStudio (Toyama/NIHU) R October 16, / 34

32 RStudio (Toyama/NIHU) R October 16, / 34

33 ( ) 1 install.packages("devtools", dependencies = TRUE) 1 (11 ) 2 3 command + enter (Mac) or control + enter (Windows) 1 devtools command + enter RStudio RStudio (2 3 ) (Toyama/NIHU) R October 16, / 34

34 ( ) command + enter (M) or control + enter (W) (Toyama/NIHU) R October 16, / 34

35 R 1 2 R R R (Toyama/NIHU) R October 16, / 34

Rによる計量分析:データ解析と可視化 - 第3回 Rの基礎とデータ操作・管理

Rによる計量分析:データ解析と可視化 - 第3回  Rの基礎とデータ操作・管理 R 3 R 2017 Email: [email protected] October 23, 2017 (Toyama/NIHU) R ( 3 ) October 23, 2017 1 / 34 Agenda 1 2 3 4 R 5 RStudio (Toyama/NIHU) R ( 3 ) October 23, 2017 2 / 34 10/30 (Mon.) 12/11 (Mon.)

More information

R Commanderを用いたデータ解析

R Commanderを用いたデータ解析 1 / 82 R Commander Kengo NAGASHIMA Laboratory of Biostatistics, Department of Parmaceutical Technochemistry, Josai University 2010 1 5 R R Commander 2 / 82 R, "The Comprehensive R Archive Network (CRAN)",

More information

R John Fox R R R Console library(rcmdr) Rcmdr R GUI Windows R R SDI *1 R Console R 1 2 Windows XP Windows * 2 R R Console R ˆ R

R John Fox R R R Console library(rcmdr) Rcmdr R GUI Windows R R SDI *1 R Console R 1 2 Windows XP Windows * 2 R R Console R ˆ R R John Fox 2006 8 26 2008 8 28 1 R R R Console library(rcmdr) Rcmdr R GUI Windows R R SDI *1 R Console R 1 2 Windows XP Windows * 2 R R Console R ˆ R GUI R R R Console > ˆ 2 ˆ Fox(2005) [email protected]

More information

FileMaker Pro 8.5 Tutorial

FileMaker Pro 8.5 Tutorial 2004 2006 FileMaker, Inc. All Rights Reserved. FileMaker, Inc. 5201 Patrick Henry Drive Santa Clara, California 95054 FileMaker FileMaker, Inc. ScriptMaker FileMaker, Inc. FileMaker FileMaker, Inc. FileMaker

More information

Parallels Desktop 7 クイックスタートガイド

Parallels Desktop 7 クイックスタートガイド PD7M-P1-411-1 Parallels Desktop 7 for Mac Parallels Desktop 7 for Mac および Parallels Desktop 7 Switch to Mac Edition 兼用 クイック スタート ガイド Copyright 1999-2011 by Parallels Holdings, Ltd. and its affiliates.

More information

FileMaker Pro Tutorial

FileMaker Pro Tutorial FileMaker Pro 11 2007-2010 FileMaker, Inc. All Rights Reserved. FileMaker, Inc. 5201 Patrick Henry Drive Santa Clara, California 95054 FileMaker FileMaker, Inc. FileMaker, Inc. FileMaker FileMaker, Inc.

More information

3 Ubuntu Linux Ubuntu Linux Debian Linux DistroWatch.com 1 Debian Ubuntu Linux 1 Debian CD(4.1 ) Knoppix Debian CentOS Linux CentOS 1 Ubuntu L

3 Ubuntu Linux Ubuntu Linux Debian Linux DistroWatch.com 1 Debian Ubuntu Linux 1 Debian CD(4.1 ) Knoppix Debian CentOS Linux CentOS 1 Ubuntu L Linux PC #5 29 5 12 1 #1 tdh8025 1 Kadai1 evince kghostview ls -a ( ) 5 19 ( ) 2 Linux Linux distribution CentOS Linux Ubuntu Linux PC Linux Linux (OS) OS ( OS ) Linux 1 Linux Hurd FreeBSD GNU OS OS Linux

More information

インターネットを活用した経済分析 - フリーソフト Rを使おう

インターネットを活用した経済分析 - フリーソフト Rを使おう R 1 1 1 2017 2 15 2017 2 15 1/64 2 R 3 R R RESAS 2017 2 15 2/64 2 R 3 R R RESAS 2017 2 15 3/64 2-4 ( ) ( (80%) (20%) 2017 2 15 4/64 PC LAN R 2017 2 15 5/64 R R 2017 2 15 6/64 3-4 R 15 + 2017 2 15 7/64

More information

たのしいプログラミング Pythonではじめよう!

たのしいプログラミング Pythonではじめよう! Title of English-language original: Python for Kids A Playful Introduction to Programming ISBN 978-1-59327-407-8, published by No Starch Press, Inc. Copyright 2013 by Jason R. Briggs. Japanese-language

More information

untitled

untitled JavaFX Mobile 1. JavaFX Mobile... 2 1.1. JavaFX... 2 1.2. JavaFX Script... 3 1.2.1.... 3 1.2.2.... 5 1.2.3.... 5 2.... 7 2.1. JDK 6 Update 13... 7 2.2. NetBeans IDE 6.5.1 for JavaFX 1.1.1... 7 3.... 10

More information

KLC - AE 2007 インストール・セットアップ・ガイド

KLC - AE 2007 インストール・セットアップ・ガイド KORG Legacy Collection ANALOG EDITION 2007 J 1 / KORG Legacy Collection - ANALOG EDITION 2007 CD-ROM KORG Legacy Collection - ANALOG EDITION 2007/ USB VST Audio Units RTAS USB USB USB / CONSOLE Mac Mac

More information

1 2 Windows 7 *3 Windows * 4 R R Console R R Console ˆ R GUI R R R *5 R 2 R R R 6.1 ˆ 2 ˆ 2 ˆ Graphics Device 1 Rcmdr R Console R Rconsole R --sdi R M

1 2 Windows 7 *3 Windows * 4 R R Console R R Console ˆ R GUI R R R *5 R 2 R R R 6.1 ˆ 2 ˆ 2 ˆ Graphics Device 1 Rcmdr R Console R Rconsole R --sdi R M R John Fox and Milan Bouchet-Valat Version 2.0-1 2013 11 8 2013 11 11 1 R Fox 2005 R R Core Team, 2013 GUI R R R R R R R R R the Comprehensive R Archive Network (CRAN) R CRAN 6.4 R Windows R Rcmdr Mac

More information

Microsoft Word - PrivateAccess_UM.docx

Microsoft Word - PrivateAccess_UM.docx `````````````````SIRE Page 1 English 3 日本語 7 Page 2 Introduction Welcome to! is a fast, simple way to store and protect critical and sensitive files on any ixpand Wireless Charger. Create a private vault

More information

付加情報をもったファイル共有システム

付加情報をもったファイル共有システム 1 2 1 6 1.1....................................... 6 1.2...................................... 6 1.3..................................... 6 1.4................................... 7 2 8 2.1 Annphony....................................

More information

1. 2. SRT100 3. QAC/TM 4. QAC/TM 5. QAC/TM 6. QAC/TM ( ) 7. [APPENDIX 1] [APPENDIX 2] QAC/TM Classification 2

1. 2. SRT100 3. QAC/TM 4. QAC/TM 5. QAC/TM 6. QAC/TM ( ) 7. [APPENDIX 1] [APPENDIX 2] QAC/TM Classification 2 SRT100 QAC/TM (Rev.10.00.49 ) 2010 1 Copyright (C) 2010 Trend Micro Incorporated. All rights reserved. TRENDMICRO 1. 2. SRT100 3. QAC/TM 4. QAC/TM 5. QAC/TM 6. QAC/TM ( ) 7. [APPENDIX 1] [APPENDIX 2] QAC/TM

More information

Android Windows 8 AP 9 AP ios & Android 10 ST 11 ST ios 12 ST Android 13 ST Win & Mac 14 ST ios 15 ST Android

Android Windows 8 AP 9 AP ios & Android 10 ST 11 ST ios 12 ST Android 13 ST Win & Mac 14 ST ios 15 ST Android WiCounter Version 2.0 27 .. 2. 3. 2 4. 5. 6. 7 Android Windows 8 AP 9 AP ios & Android 10 ST 11 ST ios 12 ST Android 13 ST Win & Mac 14 ST ios 15 ST Android 16 17 18 19. 20 21 22 23 24 info ST 25 26 AP

More information

Ubuntu Linux PC Ubuntu Linux (14.04 LTS, Trusty Tahr) 32bit CD 64bit CD 2. 32bit CPU 64bit 32bit PC CPU 32bit 64bit Windows 64bit 64bit. 32bit Core 64

Ubuntu Linux PC Ubuntu Linux (14.04 LTS, Trusty Tahr) 32bit CD 64bit CD 2. 32bit CPU 64bit 32bit PC CPU 32bit 64bit Windows 64bit 64bit. 32bit Core 64 Linux PC #5 26 5 16 1 Linux Linux distribution CentOS Linux Ubuntu Linux PC Linux Linux (OS) OS ( OS ) Linux 1 Linux Hurd FreeBSD GNU OS OS Linux Linux Linux Debian GNU/Linux, Ubuntu Linux, RedHat Linux,

More information

IPSJ SIG Technical Report Vol.2014-EIP-63 No /2/21 1,a) Wi-Fi Probe Request MAC MAC Probe Request MAC A dynamic ads control based on tra

IPSJ SIG Technical Report Vol.2014-EIP-63 No /2/21 1,a) Wi-Fi Probe Request MAC MAC Probe Request MAC A dynamic ads control based on tra 1,a) 1 1 2 1 Wi-Fi Probe Request MAC MAC Probe Request MAC A dynamic ads control based on traffic Abstract: The equipment with Wi-Fi communication function such as a smart phone which are send on a regular

More information

HP Server tc2120 Microsoft Windows 2000 Server SP3 HP P

HP Server tc2120 Microsoft Windows 2000 Server SP3 HP P HP Server tc2120 Microsoft Windows 2000 ServerSP3 HP P312977-191 200210 Hewlett-Packard Company Hewlett- Packard Company Hewlett-Packard Company Intel Corporation MicrosoftMS-DOSWindows Windows NT Microsoft

More information

([ ],), : [Name], name1 name2 name10 4, 2 SuperSQL, ([ ]!), name1 name2 : [Name]! name10 2. 3 SuperSQL,,,,,,, < < > } =,

([ ],), : [Name], name1 name2 name10 4, 2 SuperSQL, ([ ]!), name1 name2 : [Name]! name10 2. 3 SuperSQL,,,,,,, < < > } =, DEIM Forum 2014 E3-5 SuperSQL 223-8522 3-14-1 E-mail: {masato,goto}@db.ics.keio.ac.jp, [email protected] SuperSQL, SQL, SuperSQL ssqltool, ssqltool, SuperSQL, Viewer Viewer, SuperSQL,,,, HTML, 1. SQL,

More information

Microsoft Word PAX4_Manual_JP.doc

Microsoft Word PAX4_Manual_JP.doc Intego Personal Antispam X4 1 Intego Personal Antispam X4 2 Intego Personal Antispam X4 for Macintosh 2004-2006 Intego. All Rights Reserved Intego www.intego.com Intego Personal Antispam X4 for Macintosh

More information

untitled

untitled PC Internet Explorer Windows SafariMac OS X Mozilla FireFoxWindows / Macintosh Google ChromeWindows / Macintosh IE + Google Windows 1 Internet Explorer 10.x (O)(A) Internet Explorer (O) (B) (B) (B) 2 Web

More information

Rによるデータ解析入門

Rによるデータ解析入門 91 C R The R Project for Statistical Computing(http://www.r-project.org/) CRAN(Comprehensive R Archive Network) *1 *2 *3 OS R Mac OS X Windows Unix Linux(Debian Mandrake FedoraCore SUSE Vine) C.1 Mac OS

More information

1. 2. SRT QAC/TM 4. QAC/TM 5. QAC/TM 6. QAC/TM ( ) 7. [APPENDIX 1] [APPENDIX 2] QAC/TM

1. 2. SRT QAC/TM 4. QAC/TM 5. QAC/TM 6. QAC/TM ( ) 7. [APPENDIX 1] [APPENDIX 2] QAC/TM SRT100 QAC/TM (Rev.10.00.46) 2009 8 Copyright (C) 2009 Trend Micro Incorporated. All rights reserved. TRENDMICRO 1. 2. SRT100 3. QAC/TM 4. QAC/TM 5. QAC/TM 6. QAC/TM ( ) 7. [APPENDIX 1] [APPENDIX 2] QAC/TM

More information

untitled

untitled Track Stick...1...2...7...8...9...10...10...14...14...17...19...23 1. CD CD 2. INSTALL TRACK SITCK MANAGER 3. OK 2 4. NEXT 5. license agreement I agree 6. Next 3 7. 8. Next 9. Next 4 10. Close 9 OK PDF

More information

100 SDAM SDAM Windows2000/XP 4) SDAM TIN ESDA K G G GWR SDAM GUI

100 SDAM SDAM Windows2000/XP 4) SDAM TIN ESDA K G G GWR SDAM GUI 30 99 112 2006 SDAM SDAM SDAM SDAM 1950 1960 1970 SPSS SAS Microsoft Excel ArcView GIS 2002 ArcExplorer 1) MANDARA 2) GIS 2000 TNTLite 3) GIS 100 SDAM SDAM Windows2000/XP 4) SDAM TIN ESDA K G G GWR SDAM

More information

Titleエジプトにおける 私 的 土 地 所 有 権 の 確 立 Author(s) 加 藤, 博 Citation Issue 1983-12-14 Date Type Thesis or Dissertation Text Version publisher URL http://hdl.handle.net/10086/18306 Right Hitotsubashi University

More information

KLCシリーズ インストール/セットアップ・ガイド

KLCシリーズ インストール/セットアップ・ガイド KORG Legacy Collection J 1 / 2 Windows XP Windows XP 1 2 Windows XP 3 4 5 6 3 / 7 8 4 Mac OS X Mac OS X 1 2 3 4 5 Mac OS X 6 5 / 7 8 6 USB / USB 1 2 USB 7 / 1 2 3 Windows Mac 4 1 Windows Mac 8 2 Windows

More information

GENESYS2005_Instal_Guide.PDF

GENESYS2005_Instal_Guide.PDF : CET-223 Agilent EEsof EDA GENESYS 2005.11 & SystemVue 2005.02 / 2005 4 SystemView by Elanix SystemVue TM 2006 3 3 EDA 1.... 4 2.... 5 2-1.... 6 2-2. GENESYS... 6 Step1:... 6 Step2:... 7 Step3:... 8 Step4:...

More information

403-0702_‚Ofl¼

403-0702_‚Ofl¼ HP-UX HP System Insight Manager Whitepaper ..................................................................................2..............................................................2 SIM....................................................................................2.............................................................3................................................................................3

More information

1997 1... 1... 2... 2... 2... 3... 6... 9... 9... 24... 39... 54... 69 4 1995 1996 A B C D 1 1 2 1 2 3 3 1 1 (1) (2) (3) 32 2 (1) (2) (3) 3 3 4 1 11 12 13 21 22 / / 23 5 4 4 1 9 1997 2 1 1 1 2 1 1 3 2

More information

2 1 Mathematica Mathematica Mathematica Mathematica Windows Mac *1 1.1 1.1 Mathematica 9-1 Expand[(x + y)^7] (x + y) 7 x y Shift *1 Mathematica 1.12

2 1 Mathematica Mathematica Mathematica Mathematica Windows Mac *1 1.1 1.1 Mathematica 9-1 Expand[(x + y)^7] (x + y) 7 x y Shift *1 Mathematica 1.12 Chapter 1 Mathematica Mathematica Mathematica 1.1 Mathematica Mathematica (Wolfram Research) Windows, Mac OS X, Linux OS Mathematica 88 2012 11 9 2 Mathematica 2 1.2 Mathematica Mathematica 2 1 Mathematica

More information

2 Rails pico planner camel case camel pico planner _ pico_planner snake case snake - chain case chain pico planner pico-planner CSS id class 2.3 Rails

2 Rails pico planner camel case camel pico planner _ pico_planner snake case snake - chain case chain pico planner pico-planner CSS id class 2.3 Rails 2 Rails 2.1 DBMS PicoPlanner SimpleGreeter DBMS Ruby on Rails 3 PostgreSQL MySQL SQLite3 SQLite3 2.2 Web PicoPlanner pico planner 11 2 Rails pico planner camel case camel pico planner _ pico_planner snake

More information

MathLibre KNOPPIX (next generation) 2012 KNOPPIX/Math MathLibre KNOPPIX , KNOPPIX 6.0, next generation. KNOPPIX/Math KDE,

MathLibre KNOPPIX (next generation) 2012 KNOPPIX/Math MathLibre KNOPPIX , KNOPPIX 6.0, next generation. KNOPPIX/Math KDE, MathLibre KNOPPIX (next generation) 2012 KNOPPIX/Math MathLibre KNOPPIX 20120514, 20120608 KNOPPIX 60, next generation KNOPPIX/Math 2010 KDE, lxde, 1 KNOPPIX/Math DVD Q KNOPPIX/Math A http://wwwmathkobe-uacjp/openxm/math/dojo,

More information

Asterix_Users_Manual.book

Asterix_Users_Manual.book 1 Professional Hybrid Creative Tablet (DTH-A1300) 1 2 1 B VCCI-B Cintiq Wacom Adobe Adobe Photoshop Microsoft Windows Apple Apple Mac TM Cintiq Companion Hybrid Version 1.1, Rev B2514 2014 Wacom Co., Ltd.

More information

Quickstart Guide 3rd Edition

Quickstart Guide 3rd Edition 10 QNX QNX 1 2 3 4 5 QNX Momentics QNX Neutrino RTOS QNX Neutrino 6 7 8 QNX Neutrino 9 10 1 1 QNX Neutrino RTOS QNX Momentics Windows Vista Windows 2000 Windows XP Linux QNX Neutrino QNX Momentics CD http://www.qnx.co.jp/

More information

QW-3414

QW-3414 MA1312-C P 1 2 3 A E L D E D A A E D A D D D D D E A C A C E D A A A C A C A C E E E D D D A C A C A A A A C A C A C E E C C E D D C C C E C E C C E C C C E D A C A C A C E L B B

More information

2

2 () () 980-8578 Tel: 022-795-6092 Fax: 022-795-6096 email: 1. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 17 46 47 4.1.1

More information

Sophos Anti-Virus UNIX or Linux startup guide

Sophos Anti-Virus UNIX or Linux startup guide UNIX Linux 1.0 1 UNIX Sophos Anti-Virus Sophos Anti-Virus Sophos Anti-Virus Sophos Anti-Virus UNIX UNIX Sophos Anti-Virus UNIX EM Library Sophos Anti-Virus / Sophos Anti-Virus Network Install CD CD Sophos

More information