QCA with \Textsf{R}

Total Page:16

File Type:pdf, Size:1020Kb

QCA with \Textsf{R} Adrian Dușa QCA with R A Comprehensive Resource 2021-06-15 Contents 1 R basics ................................................... 11 1.1 Working directory ....................................... 13 1.2 Workspace .............................................. 13 1.3 Object types ............................................ 14 1.4 Mathematical and logical operations ....................... 17 1.5 Indexing and subsetting .................................. 19 1.6 Data coercion ........................................... 22 1.7 User interfaces .......................................... 24 1.8 Working with script files ................................. 26 2 The QCA package ......................................... 29 2.1 Installing the QCA package .............................. 29 2.2 Structure ............................................... 30 2.3 Command line mode ..................................... 32 2.3.1 Getting help ...................................... 32 2.3.2 Function arguments ............................... 33 2.4 The GUI - graphical user interface ......................... 36 2.4.1 Description ....................................... 36 2.4.2 Starting the graphical user interface ................. 38 2.4.3 Creating an executable icon......................... 39 2.4.4 Command construction ............................ 42 2.4.5 The web R console ................................. 43 2.4.6 Graphics ......................................... 45 2.4.7 The data editor ................................... 48 2.4.8 Import, export and load data ....................... 51 3 Set theory ................................................. 57 3.1 The binary system and the Boolean algebra ................. 57 3.2 Types of sets............................................ 58 3.2.1 Bivalent crisp sets ................................. 59 3.2.2 Multivalent crisp sets .............................. 60 3.2.3 Fuzzy sets ........................................ 61 3 4 Contents 3.3 Set operations .......................................... 62 3.3.1 Set negation ...................................... 63 3.3.2 Logical AND ..................................... 64 3.3.3 Logical OR ....................................... 66 3.4 Complex operations ...................................... 69 4 Calibration ................................................ 71 4.1 Calibrating to crisp sets .................................. 73 4.2 Calibrating to fuzzy sets .................................. 80 4.2.1 Direct assignment ................................. 81 4.2.2 Direct method, the “s-shape” functions ............... 83 4.2.3 How does it works: the logistic function .............. 95 4.2.4 Direct method, the “bell-shape” functions ............ 98 4.2.5 The indirect method ............................... 102 4.3 Calibrating categorical data ............................... 104 5 Analysis of necessity .......................................109 5.1 Conceptual description ................................... 109 5.2 Inclusion / consistency ................................... 115 5.3 Coverage / relevance ..................................... 120 5.4 Necessity for conjunctions and disjunctions ................. 128 5.5 Exploring possible necessity relations ...................... 131 6 Analysis of sufficiency .....................................135 6.1 Conceptual description ................................... 136 6.2 Inclusion / consistency ................................... 140 6.3 The PRI score .......................................... 144 6.4 Coverage: raw and unique ................................ 146 7 The truth table ............................................149 7.1 General considerations ................................... 149 7.2 Command line and GUI dialog ............................ 153 7.3 From fuzzy sets to crisp truth tables ....................... 156 7.4 Calculating consistency scores ............................. 161 7.5 The OUTput value ...................................... 163 7.6 Other details ............................................ 167 8 The Logical Minimization ..................................169 8.1 Command Line and GUI Dialog ........................... 171 8.2 The Conservative (Complex) Solution ...................... 173 8.3 What is explained ....................................... 176 8.4 The Parsimonious Solution ............................... 181 8.5 A Note on Complexity ................................... 185 8.6 Types of counterfactuals .................................. 187 8.7 Intermediate solutions: SA and ESA ....................... 192 8.8 Theory evaluation ....................................... 203 Contents 5 9 Pseudo-counterfactual analysis .............................207 9.1 eQMC ................................................. 208 9.2 Consistency Cubes....................................... 213 9.3 Include vs. exclude ...................................... 217 10 QCA extensions ...........................................219 10.1 Temporal QCA.......................................... 219 10.2 Coincidence analysis: CNA ............................... 224 10.3 Panel / clustered data ................................... 235 10.4 Robustness tests ........................................ 240 11 Less known features .......................................251 11.1 Boolean expressions ...................................... 252 11.2 Negate expressions....................................... 258 11.3 Factorize expressions ..................................... 260 11.4 More parameters of fit ................................... 261 11.5 XY plots ............................................... 264 11.6 Venn diagrams .......................................... 271 References .....................................................283 References .................................................. 283 Preamble The initial idea to write this book emerged in August 2016, with the inten- tion to update the description of package QCA in R. A lot of things have changed since the appearance of the previous user guide five years ago, when the package reached version 1.0-0. Most of the commands are backwards compatible, meaning that all examples from the previous guide still work with the current version of the package. There are some minor but important differences, for instance the function calibrate() has its default changed from type = "crisp" to type = "fuzzy". Examples still work with previous versions, but for crisp calibration the ar- gument type = "crisp" should be explicitly specified. All changes, from all versions of the package, are specified in the ChangeLog file which is located in the package’s installation directory (details at chapter 2). This book is correlated with the release of version 3.7 of the package. There are many new, cutting edge features that were not available before: dramatically improved functionality, and of course a graphical user interface to enable R beginners to use this package using a point and click method. If previously it was all about the command line, now it is all about the interconnection between the command line and the graphical user interface. Since the first edition of this book was published, a few other improvements have been made to the package, most notably introducing conjunctural di- rectional expectations (to be discussed in section 8.7), and a new method of deriving the intermediate solution without using easy counterfactuals, with the same results. In addition, the argument exclude was moved from function minimize() to function truthTable(), where it better serves its purpose with increased transparency. Perhaps the most useful and interesting new feature is the function simplify() which, in addition to its previous name sop(), performs a Boolean minimiza- tion on a SOP / DNF expression in order to find the simplest possible equiv- 7 8 Contents alent. Such expressions are now extensively used when specifying directional expectations, in either traditional way or as conjunctural expectations. To advance the presentation from section 2.4, the point of the graphical user interface is not to replace the command line, but to offer a more accessible way to learn how to use the commands. No graphical user interface, irrespective how user friendly, can replace the complete flexibility of the command line. The variety of available written functions, from the base R and specifically from package QCA, is beyond the possibilities of any standardized graphical (therefore confined) user interface. But there is one thing that makes this user interface special: each and every mouse click on the various options trigger an immediate construction of the corresponding command. The real purpose of the graphical user interface is to demonstrate one possible way to write commands, while there are many others that users are invited to discover. The structure of this book is different from the former user guide. It willof course touch on the same topics and present the same (updated) package, but instead of organizing chapters on the distinction between crisp, multi-value, and fuzzy sets, a better approach is to organize the book on QCA related analyses: calibration, analysis of necessity, analysis of sufficiency, constructing and minimizing a truth table etc. It has grown much more than a guide, but it is also not intended as a complete theoretical material. This is valid for both R related information (chapter 1 being a very short introduction) and QCA related topics as well. There are entire books to
Recommended publications
  • Data Science with Postgresql
    Data Science with PostgreSQL Data Science with PostgreSQL Balázs Bárány Data Scientist pgconf.eu 2015 Data Science with PostgreSQL Contents Introduction What is Data Science? Process model Tools and methods of Data Scientists Data Science with PostgreSQL Business & data understanding Preprocessing Modeling Evaluation Deployment Summary I Who is a Data Scientist? Data Science with PostgreSQL Introduction What is Data Science? Sexiest job of the 21st century I According to Google, LinkedIn, ... Data Science with PostgreSQL Introduction What is Data Science? Sexiest job of the 21st century I According to Google, LinkedIn, ... I Who is a Data Scientist? Data Science with PostgreSQL Introduction What is Data Science? Data Science Venn Diagram (c) Drew Conway, 2010. CC-BY-NC I Mash up & format for analysis I Analyze & visualize I Predict & prescribe I Operationalize Data Science with PostgreSQL Introduction What is Data Science? Tasks of data scientists I Get data from various sources I Big data? I Analyze & visualize I Predict & prescribe I Operationalize Data Science with PostgreSQL Introduction What is Data Science? Tasks of data scientists I Get data from various sources I Big data? I Mash up & format for analysis I Predict & prescribe I Operationalize Data Science with PostgreSQL Introduction What is Data Science? Tasks of data scientists I Get data from various sources I Big data? I Mash up & format for analysis I Analyze & visualize I Operationalize Data Science with PostgreSQL Introduction What is Data Science? Tasks of data
    [Show full text]
  • Software Corner: Rkward: Installation and Use Aaron Olaf Batty [email protected] SRB General Editor
    Software Corner Software Corner: RKWard: Installation and use Aaron Olaf Batty [email protected] SRB General Editor Many readers of SRB are likely familiar with the free, open-source statistical software package R. R offers a staggeringly wide range of analyses and outputs, besting every other general statistics package on the market, for free. This value, however, comes at a cost that may seem too steep for many users: it is command-line only. One must learn to write R code to take advantage of this software, and although the code itself is relatively memorable and intuitive, it cannot compete with the ease of use offered by the graphical user interfaces (GUIs) of competing packages, such as SPSS/PASW—a software package whose price can run over a thousand US dollars. What is RKWard? RKWard seeks to lower the usability barrier to entry into statistical analysis with R by providing a GUI frontend that hides much of the code from the use (although it is easy to inspect in the con- sole for those who wish to do so). Furthermore, it streamlines the sometimes-maddening process of importing data into R, and can read SPSS and Stata files natively in addition to standard text formats. Finally, its general look-and-feel will be immediately familiar to those who have used SPSS, further easing entry for novices. It has been in development since 2005, and achieved its first stable release in 2011. Although it uses the KDE desktop environment, which is usually found on Linux systems, it is not limited to computers running Linux/Unix.
    [Show full text]
  • Rkward: a Comprehensive Graphical User Interface and Integrated Development Environment for Statistical Analysis with R
    JSS Journal of Statistical Software June 2012, Volume 49, Issue 9. http://www.jstatsoft.org/ RKWard: A Comprehensive Graphical User Interface and Integrated Development Environment for Statistical Analysis with R Stefan R¨odiger Thomas Friedrichsmeier Charit´e-Universit¨atsmedizin Berlin Ruhr-University Bochum Prasenjit Kapat Meik Michalke The Ohio State University Heinrich Heine University Dusseldorf¨ Abstract R is a free open-source implementation of the S statistical computing language and programming environment. The current status of R is a command line driven interface with no advanced cross-platform graphical user interface (GUI), but it includes tools for building such. Over the past years, proprietary and non-proprietary GUI solutions have emerged, based on internal or external tool kits, with different scopes and technological concepts. For example, Rgui.exe and Rgui.app have become the de facto GUI on the Microsoft Windows and Mac OS X platforms, respectively, for most users. In this paper we discuss RKWard which aims to be both a comprehensive GUI and an integrated devel- opment environment for R. RKWard is based on the KDE software libraries. Statistical procedures and plots are implemented using an extendable plugin architecture based on ECMAScript (JavaScript), R, and XML. RKWard provides an excellent tool to manage different types of data objects; even allowing for seamless editing of certain types. The objective of RKWard is to provide a portable and extensible R interface for both basic and advanced statistical and graphical analysis, while not compromising on flexibility and modularity of the R programming environment itself. Keywords: GUI, integrated development environment, plugin, R.
    [Show full text]
  • Molecular Data in R Phylogeny, Evolution & R
    Introduction R Data Alignment Basic analysis SNP DAPC Structure Spatial analysis Trees Evolution The end Molecular data in R Phylogeny, evolution & R Vojtěch Zeisek Department of Botany, Faculty of Science, Charles University, Prague Institute of Botany, Czech Academy of Sciences, Průhonice https://trapa.cz/, [email protected] January 27 to 30, 2020 . Vojtěch Zeisek (https://trapa.cz/) Molecular data in R January 27 to 30, 2020 1 / 393 Introduction R Data Alignment Basic analysis SNP DAPC Structure Spatial analysis Trees Evolution The end Outline I 1 Introduction 2 R Installation Let’s start with R Basic operations in R Packages for our work 3 Data Overview of data and data types Microsatellites AFLP Notes about data DNA sequences, SNP VCF Export . Vojtěch Zeisek (https://trapa.cz/) Molecular data in R January 27 to 30, 2020 2 / 393 Introduction R Data Alignment Basic analysis SNP DAPC Structure Spatial analysis Trees Evolution The end Outline II Tasks 4 Alignment Overview and MAFFT MAFFT, Clustal, MUSCLE and T-Coffee Multiple genes Display and cleaning 5 Basic analysis First look at the data Statistics Genetic distances Hierarchical clustering AMOVA . MSN . Vojtěch Zeisek (https://trapa.cz/) Molecular data in R January 27 to 30, 2020 3 / 393 Introduction R Data Alignment Basic analysis SNP DAPC Structure Spatial analysis Trees Evolution The end Outline III NJ (and UPGMA) tree PCoA Tasks 6 SNP PCA and NJ 7 DAPC Bayesian clustering Discriminant analysis and visualization 8 Structure Running Structure from R ParallelStructure on Windows Post processing 9 Spatial analysis . Vojtěch Zeisek (https://trapa.cz/) Molecular data in R January 27 to 30, 2020 4 / 393 Introduction R Data Alignment Basic analysis SNP DAPC Structure Spatial analysis Trees Evolution The end Outline IV Moran’s I sPCA Monmonier Mantel test Geneland Plotting maps 10 Trees Manipulations MP Seeing trees in the forest Comparisons Notes about plotting the trees .
    [Show full text]
  • Pipenightdreams Osgcal-Doc Mumudvb Mpg123-Alsa Tbb
    pipenightdreams osgcal-doc mumudvb mpg123-alsa tbb-examples libgammu4-dbg gcc-4.1-doc snort-rules-default davical cutmp3 libevolution5.0-cil aspell-am python-gobject-doc openoffice.org-l10n-mn libc6-xen xserver-xorg trophy-data t38modem pioneers-console libnb-platform10-java libgtkglext1-ruby libboost-wave1.39-dev drgenius bfbtester libchromexvmcpro1 isdnutils-xtools ubuntuone-client openoffice.org2-math openoffice.org-l10n-lt lsb-cxx-ia32 kdeartwork-emoticons-kde4 wmpuzzle trafshow python-plplot lx-gdb link-monitor-applet libscm-dev liblog-agent-logger-perl libccrtp-doc libclass-throwable-perl kde-i18n-csb jack-jconv hamradio-menus coinor-libvol-doc msx-emulator bitbake nabi language-pack-gnome-zh libpaperg popularity-contest xracer-tools xfont-nexus opendrim-lmp-baseserver libvorbisfile-ruby liblinebreak-doc libgfcui-2.0-0c2a-dbg libblacs-mpi-dev dict-freedict-spa-eng blender-ogrexml aspell-da x11-apps openoffice.org-l10n-lv openoffice.org-l10n-nl pnmtopng libodbcinstq1 libhsqldb-java-doc libmono-addins-gui0.2-cil sg3-utils linux-backports-modules-alsa-2.6.31-19-generic yorick-yeti-gsl python-pymssql plasma-widget-cpuload mcpp gpsim-lcd cl-csv libhtml-clean-perl asterisk-dbg apt-dater-dbg libgnome-mag1-dev language-pack-gnome-yo python-crypto svn-autoreleasedeb sugar-terminal-activity mii-diag maria-doc libplexus-component-api-java-doc libhugs-hgl-bundled libchipcard-libgwenhywfar47-plugins libghc6-random-dev freefem3d ezmlm cakephp-scripts aspell-ar ara-byte not+sparc openoffice.org-l10n-nn linux-backports-modules-karmic-generic-pae
    [Show full text]
  • Awoken Icon Theme - Installation & Customizing Instructions 1
    Awoken Icon Theme - Installation & Customizing Instructions 1 AWOKEN ICON THEME Installation & Customizing Instructions Alessandro Roncone mail: [email protected] homepage: http://alecive.deviantart.com/ Awoken homepage (GNOME Version): link kAwoken homepage (KDE Version): link Contents 1 Iconset Credits 3 2 Copyright 3 3 Installation 3 3.1 GNOME........................................................3 3.2 KDE..........................................................4 4 Customizing Instructions 4 4.1 GNOME........................................................4 4.2 KDE..........................................................5 5 Overview of the customization script6 5.1 How to customize a single iconset..........................................7 6 Customization options 8 6.1 Folder types......................................................8 6.2 Color-NoColor.................................................... 11 6.3 Distributor Logos................................................... 11 6.4 Trash types...................................................... 11 6.5 Other Options.................................................... 11 6.5.1 Gedit icon................................................... 11 6.5.2 Computer icon................................................ 11 6.5.3 Home icon................................................... 11 6.6 Deprecated...................................................... 12 7 How to colorize the iconset 13 8 Icons that don't want to change (but I've drawed) 14 9 Conclusions 15 9.1 Changelog......................................................
    [Show full text]
  • Debian and Ubuntu
    Debian and Ubuntu Lucas Nussbaum lucas@{debian.org,ubuntu.com} lucas@{debian.org,ubuntu.com} Debian and Ubuntu 1 / 28 Why I am qualified to give this talk Debian Developer and Ubuntu Developer since 2006 Involved in improving collaboration between both projects Developed/Initiated : Multidistrotools, ubuntu usertag on the BTS, improvements to the merge process, Ubuntu box on the PTS, Ubuntu column on DDPO, . Attended Debconf and UDS Friends in both communities lucas@{debian.org,ubuntu.com} Debian and Ubuntu 2 / 28 What’s in this talk ? Ubuntu development process, and how it relates to Debian Discussion of the current state of affairs "OK, what should we do now ?" lucas@{debian.org,ubuntu.com} Debian and Ubuntu 3 / 28 The Ubuntu Development Process lucas@{debian.org,ubuntu.com} Debian and Ubuntu 4 / 28 Linux distributions 101 Take software developed by upstream projects Linux, X.org, GNOME, KDE, . Put it all nicely together Standardization / Integration Quality Assurance Support Get all the fame Ubuntu has one special upstream : Debian lucas@{debian.org,ubuntu.com} Debian and Ubuntu 5 / 28 Ubuntu’s upstreams Not that simple : changes required, sometimes Toolchain changes Bugfixes Integration (Launchpad) Newer releases Often not possible to do work in Debian first lucas@{debian.org,ubuntu.com} Debian and Ubuntu 6 / 28 Ubuntu Packages Workflow lucas@{debian.org,ubuntu.com} Debian and Ubuntu 7 / 28 Ubuntu Packages Workflow Ubuntu Karmic Excluding specific packages language-(support|pack)-*, kde-l10n-*, *ubuntu*, *launchpad* Missing 4% : Newer upstream
    [Show full text]
  • Upgrade Issues
    Upgrade issues Graph of new conflicts libsiloh5-0 libhdf5-lam-1.8.4 (x 3) xul-ext-dispmua (x 2) liboss4-salsa-asound2 (x 2) why sysklogd console-cyrillic (x 9) libxqilla-dev libxerces-c2-dev iceape xul-ext-adblock-plus gnat-4.4 pcscada-dbg Explanations of conflicts pcscada-dbg libpcscada2-dev gnat-4.6 gnat-4.4 Similar to gnat-4.4: libpolyorb1-dev libapq-postgresql1-dev adacontrol libxmlada3.2-dev libapq1-dev libaws-bin libtexttools2-dev libpolyorb-dbg libnarval1-dev libgnat-4.4-dbg libapq-dbg libncursesada1-dev libtemplates-parser11.5-dev asis-programs libgnadeodbc1-dev libalog-base-dbg liblog4ada1-dev libgnomeada2.14.2-dbg libgnomeada2.14.2-dev adabrowse libgnadecommon1-dev libgnatvsn4.4-dbg libgnatvsn4.4-dev libflorist2009-dev libopentoken2-dev libgnadesqlite3-1-dev libnarval-dbg libalog1-full-dev adacgi0 libalog0.3-base libasis2008-dbg libxmlezout1-dev libasis2008-dev libgnatvsn-dev libalog0.3-full libaws2.7-dev libgmpada2-dev libgtkada2.14.2-dbg libgtkada2.14.2-dev libasis2008 ghdl libgnatprj-dev gnat libgnatprj4.4-dbg libgnatprj4.4-dev libaunit1-dev libadasockets3-dev libalog1-base-dev libapq-postgresql-dbg libalog-full-dbg Weight: 5 Problematic packages: pcscada-dbg hostapd initscripts sysklogd Weight: 993 Problematic packages: hostapd | initscripts initscripts sysklogd Similar to initscripts: conglomerate libnet-akamai-perl erlang-base screenlets xlbiff plasma-widget-yawp-dbg fso-config- general gforge-mta-courier libnet-jifty-perl bind9 libplack-middleware-session-perl libmail-listdetector-perl masqmail libcomedi0 taxbird ukopp
    [Show full text]
  • Upgrade Issues
    Upgrade issues Graph of new conflicts libboost1.46-dev libboost-random-dev (x 18) libboost-mpi-python1.46.1 libboost-mpi-python-dev libwoodstox-java (x 7) liboss4-salsa-asound2 (x 2) libboost1.46-doc libboost-doc libgnutls28-dev libepc-dev libabiword-2.9-dev libcurl4-openssl-dev (x 5) python-cjson (x 2) nova-compute-kvm (x 4) printer-driver-all-enforce lprng (x 2) mdbtools-dev libiodbc2 tesseract-ocr-deu (x 8) tesseract-ocr libjpeg62-dev libcvaux-dev (x 2) ldtp python-pyatspi Explanations of conflicts ldtp python-pyatspi2 python-pyatspi Similar to ldtp: python-ldtp Weight: 29 Problematic packages: ldtp libboost-mpi-python-dev libboost-mpi-python1.48-dev libboost-mpi-python1.48.0 libboost-mpi-python1.46.1 Similar to libboost-mpi-python1.46.1: libboost1.46-all-dev libboost-mpi-python1.46-dev Similar to libboost-mpi-python-dev: libboost-all-dev Weight: 149 Problematic packages: libboost-mpi-python-dev tesseract-ocr-vie tesseract-ocr Similar to tesseract-ocr: slimrat tesseract-ocr-dev slimrat-nox Weight: 61 Problematic packages: tesseract-ocr-vie tesseract-ocr-spa tesseract-ocr Similar to tesseract-ocr: slimrat tesseract-ocr-dev slimrat-nox Weight: 295 Problematic packages: tesseract-ocr-spa tesseract-ocr-por tesseract-ocr Similar to tesseract-ocr: slimrat tesseract-ocr-dev slimrat-nox Weight: 133 Problematic packages: tesseract-ocr-por tesseract-ocr-nld tesseract-ocr Similar to tesseract-ocr: slimrat tesseract-ocr-dev slimrat-nox Weight: 112 Problematic packages: tesseract-ocr-nld tesseract-ocr-ita tesseract-ocr Similar to tesseract-ocr:
    [Show full text]
  • Introduction to Writing Plugins for Rkward
    Introduction to Writing Plugins for RKWard Thomas Friedrichsmeier Meik Michalke Introduction to Writing Plugins for RKWard 2 Contents 1 Introduction 9 2 Preliminaries: What are plugins in RKWard? How do they work? 10 3 Creating menu entries 11 3.1 Controlling the order of menu entries . 13 4 Defining the GUI 15 4.1 Defining a dialog . 15 4.2 Adding a wizard interface . 18 4.3 Some considerations on GUI design . 19 4.3.1 <radio> vs. <checkbox> vs. <dropdown> . 19 5 Generating R code from GUI settings 20 5.1 Using JavaScript in RKWard plugins . 20 5.1.1 preprocess() . 20 5.1.2 calculate() . 21 5.1.3 printout() . 21 5.2 Conventions, policies, and background . 22 5.2.1 Understanding the local() environment . 22 5.2.2 Code formatting . 22 5.2.3 Dealing with complex options . 23 5.3 Tips and tricks . 23 6 Writing a help page 25 7 Logic interactions between GUI elements 28 7.1 GUI logic . 28 7.2 Scripted GUI logic . 30 Introduction to Writing Plugins for RKWard 8 Embedding Plugins into Plugins 31 8.1 Use cases for embedding . 31 8.2 Embedding inside a dialog . 31 8.3 Code generation when embedding . 32 8.4 Embedding inside a wizard . 32 8.5 Less embedded embedding: Further Options button . 32 8.6 Embedding/defining incomplete plugins . 33 9 Dealing with many similar plugins 34 9.1 Overview on different approaches . 34 9.2 Using the JS include statement . 34 9.3 Including .xml files..................................... 35 9.4 Using <snippets> .
    [Show full text]
  • Scientific and Statistical Computing with R
    Introduction R Basics R Development Providing Services Over R Migration SCIENTIFIC AND STATISTICAL COMPUTING WITH R A. Mani Member, Calcutta Mathematical Society a:mani@member:ams:org Homepage: http://amani.topcities.com BARCAMP 2009, IIT KGP KOLKATA CENTER Introduction R Basics R Development Providing Services Over R Migration ABSTRACT The R environment is an integrated suite of FOSS facilities for data manipulation, knowledge discovery from databases, data analysis, scientific computing and graphical display. Technically R is an interpreted functional programming language with object-oriented programming features like inheritance. I intend to introduce some basic aspects of R, outline more advanced features and speak about providing scientific and statistical computing services over it. R caters to statistics and other methods of knowledge discovery like PCA, fuzzy techniques, data clustering, neural networks, DNA computing, belief networks, general mathematical modelling, econometrics and of course to the various sciences including bioinformatics. Introduction R Basics R Development Providing Services Over R Migration Contents 1 Introduction 2 R Basics 3 R Development 4 Providing Services Over R 5 Migration Introduction R Basics R Development Providing Services Over R Migration What is R? R is • A Free and Open Source Software under the GNU-GPL • A fully planned and coherent system unlike other data analysis software • A vehicle for developing new methods of interactive data analysis • Partly based on the statistical programming language
    [Show full text]
  • Selecting the Right Tool for the Job—R Commander Or Something Else? Jason Wilson∗
    Focus Article Statistical computing with R: selecting the right tool for the job—R Commander or something else? Jason Wilson∗ R Commander (Rcmdr) is one of the most popular graphical user interfaces (GUIs) for R. Why is R Commander so popular? What does it do? When should R Commander be used? When should it not be used? What are the alternatives to R Commander? What can be said about using R Commander, or an alternative, to teach introductory statistics courses? The answers to these questions form the sections of the paper. Included is a Box describing many of the alternative R GUIs (RExcel, Deducer, Rattle, and RKWard) and interactive development environments (IDEs—RStudio, REvolution, and RKWard). Advice is given to help the user ‘select the right tool for the job’. © 2012 Wiley Periodicals, Inc. How to cite this article: WIREs Comput Stat 2012, 4:518–526. doi: 10.1002/wics.1228 INTRODUCTION As R is open source (free), the R Core Team rightly focuses on maintaining and improving the Commander is a package which gives graphical base software. As a result, they do not offer a ‘pretty user interface (GUI) functionality like Minitab or R face’ GUI with push-button menus which contempo- SPSS to R. The purpose of this article is to provide the rary software users have come to love. This is where R reader with enough information to make a decision Commander comes in: it is probably the most popular whether or not R Commander is right for them and, if GUI for R.2 The R package name is ‘Rcmdr’, which is it is not, advice on suitable alternatives.
    [Show full text]