Open Access. Powered by Scholars. Published by Universities.®

Articles 421 - 450 of 708

Full-Text Articles in Programming Languages and Compilers

Qtools: A Collection Of Models And Tools For Quantile Inference, Marco Geraci Dec 2016

Qtools: A Collection Of Models And Tools For Quantile Inference, Marco Geraci

The R Journal

Quantiles play a fundamental role in statistics. The quantile function defines the distribution of a random variable and, thus, provides a way to describe the data that is specular but equivalent to that given by the corresponding cumulative distribution function. There are many advantages in working with quantiles, starting from their properties. The renewed interest in their usage seen in the last years is due to the theoretical, methodological, and software contributions that have broadened their applicability. This paper presents the R package Qtools, a collection of utilities for unconditional and conditional quantiles.


R Foundation News, Torsten Hothorn Dec 2016

R Foundation News, Torsten Hothorn

The R Journal

New benefectors

Donations

New supporting institutions

New supporting members


Ggfortify: Unified Interface To Visualize Statistical Results Of Popular R Packages, Yuan Yuan, Masaaki Horikoshi, Wenxuan Li Dec 2016

Ggfortify: Unified Interface To Visualize Statistical Results Of Popular R Packages, Yuan Yuan, Masaaki Horikoshi, Wenxuan Li

The R Journal

The ggfortify package provides a unified interface that enables users to use one line of code to visualize statistical results of many R packages using ggplot2 idioms. With the help of ggfortify, statisticians, data scientists, and researchers can avoid the sometimes repetitive work of using the ggplot2 syntax to achieve what they need.


Ake: An R Package For Discrete And Continuous Associated Kernel Estimations, Wanbitching E. Wansouwé, Sobom M. Somé, Célestin C. Kokonendji Dec 2016

Ake: An R Package For Discrete And Continuous Associated Kernel Estimations, Wanbitching E. Wansouwé, Sobom M. Somé, Célestin C. Kokonendji

The R Journal

Kernel estimation is an important technique in exploratory data analysis. Its utility relies on its ease of interpretation, especially based on graphical means. The Ake package is introduced for univariate density or probability mass function estimation and also for continuous and discrete regression functions using associated kernel estimators. These associated kernels have been proposed due to their specific features of variables of interest. The package focuses on associated kernel methods appropriate for continuous (bounded, positive) or discrete (count, categorical) data often found in applied settings. Furthermore, optimal bandwidths are selected by cross-validation for any associated kernel and by Bayesian methods …


Eicompare: Comparing Ecological Inference Estimates Across Ei And Ei:Rc, Loren Collingwood, Kassra Oskooii, Sergio Garcia-Rios, Matt Barreto Dec 2016

Eicompare: Comparing Ecological Inference Estimates Across Ei And Ei:Rc, Loren Collingwood, Kassra Oskooii, Sergio Garcia-Rios, Matt Barreto

The R Journal

Social scientists and statisticians often use aggregate data to predict individual-level behavior because the latter are not always available. Various statistical techniques have been developed to make inferences from one level (e.g., precinct) to another level (e.g., individual voter) that minimize errors associated with ecological inference. While ecological inference has been shown to be highly problematic in a wide array of scientific fields, many political scientists and analysis employ the techniques when studying voting patterns. Indeed, federal voting rights lawsuits now require such an analysis, yet expert reports are not consistent in which type of ecological inference is used. This …


Calculating Biological Module Enrichment Or Depletion And Visualizing Data On Large-Scale Molecular Maps With Acsnminer And Rnavicell Packages, Paul Deveau, Emmanuel Barillot, Valentina Boeva, Andrei Zinovyev, Eric Bonnet Dec 2016

Calculating Biological Module Enrichment Or Depletion And Visualizing Data On Large-Scale Molecular Maps With Acsnminer And Rnavicell Packages, Paul Deveau, Emmanuel Barillot, Valentina Boeva, Andrei Zinovyev, Eric Bonnet

The R Journal

Biological pathways or modules represent sets of interactions or functional relationships occurring at the molecular level in living cells. A large body of knowledge on pathways is organized in public databases such as the KEGG, Reactome, or in more specialized repositories, the Atlas of Cancer Signaling Network (ACSN) being an example. All these open biological databases facilitate analyses, improving our understanding of cellular systems. We hereby describe ACSNMineR for calculation of enrichment or depletion of lists of genes of interest in biological pathways. ACSNMineR integrates ACSNmolecular pathways gene sets, but can use any gene set encoded as a GMT file, …


Changes On Cran, Kurt Hornik, Achim Zeileis Dec 2016

Changes On Cran, Kurt Hornik, Achim Zeileis

The R Journal

CRAN growth

New CRAN task views

New packages in CRAN task views


Easyroc: An Interactive Web-Tool For Roc Curve Analysis Using R Language Environment, Dincer Goksuluk, Selcuk Korkmaz, Gokmen Zararsiz, A Ergun Karaagaoglu Dec 2016

Easyroc: An Interactive Web-Tool For Roc Curve Analysis Using R Language Environment, Dincer Goksuluk, Selcuk Korkmaz, Gokmen Zararsiz, A Ergun Karaagaoglu

The R Journal

ROC curve analysis is a fundamental tool for evaluating the performance of a marker in a number of research areas, e.g., biomedicine, bioinformatics, engineering etc., and is frequently used for discriminating cases from controls. There are a number of analysis tools which are used to guide researchers through their analysis. Some of these tools are commercial and provide basic methods for ROC curve analysis while others offer advanced analysis techniques and a command-based user interface, such as the R environment. The R environment includes comprehensive tools for ROC curve analysis; however, using a command-based interface might be challenging and time …


Hdm: High-Dimensional Metrics, Victor Chernozhukov, Chris Hansen, Martin Spindler Dec 2016

Hdm: High-Dimensional Metrics, Victor Chernozhukov, Chris Hansen, Martin Spindler

The R Journal

In this article the package High-dimensional Metrics hdm is introduced. It is a collection of statistical methods for estimation and quantification of uncertainty in high-dimensional approximately sparse models. It focuses on providing confidence intervals and significance testing for (possibly many) low-dimensional subcomponents of the high-dimensional parameter vector. Efficient estimators and uniformly valid confidence intervals for regression coefficients on target variables (e.g., treatment or policy variable) in a high-dimensional approximately sparse regression model, for average treatment effect (ATE) and average treatment effect for the treated (ATET), as well for extensions of these param eters to the endogenous setting are provided. Theory …


Distance Measures For Time Series In R: The Tsdist Package, Usue Mori, Alexander Mendiburu, Jose A. Lozano Dec 2016

Distance Measures For Time Series In R: The Tsdist Package, Usue Mori, Alexander Mendiburu, Jose A. Lozano

The R Journal

The definition of a distance measure between time series is crucial for many time series data mining tasks, such as clustering and classification. For this reason, a vast portfolio of time series distance measures has been published in the past few years. In this paper, the TSdist package is presented, a complete tool which provides a unified framework to calculate the largest variety of time series dissimilarity measures available in R at the moment, to the best of our knowledge. The package implements some popular distance measures which were not previously available in R, and moreover, it also provides wrappers …


Condsurv: An R Package For The Estimation Of The Conditional Survival Function For Ordered Multivariate Failure Time Data, Luis Meira-Machado, Meira-Machado Sestelo Dec 2016

Condsurv: An R Package For The Estimation Of The Conditional Survival Function For Ordered Multivariate Failure Time Data, Luis Meira-Machado, Meira-Machado Sestelo

The R Journal

One major goal in clinical applications of time-to-event data is the estimation of survival with censored data. The usual nonparametric estimator of the survival function is the time-honored Kaplan-Meier product-limit estimator. Though this estimator has been implemented in several R packages, the development of the condSURV R package has been motivated by recent contributions that allow the estimation of the survival function for ordered multivariate failure time data. The condSURV package provides three different approaches all based on the Kaplan-Meier estimator. In one of these approaches these quantities are estimated conditionally on current or past covariate measures. Illustration of the …


Measurement Units In R, Edzer Pebesma, Thomas Mailund, James Hiebert Dec 2016

Measurement Units In R, Edzer Pebesma, Thomas Mailund, James Hiebert

The R Journal

We briefly review SI units, and discuss R packages that deal with measurement units, their compatibility and conversion. Built upon udunits2 and the UNIDATA udunits library, we introduce the package units that provides a class for maintaining unit metadata. When used in expression, it automatically converts units, and simplifies units of results when possible; in case of incompatible units, errors are raised. The class flexibly allows expansion beyond predefined units. Using units may eliminate a whole class of potential scientific programming mistakes. We discuss the potential and limitations of computing with explicit units.


Tigris: An R Package To Access And Work With Geographic Data From The Us Census Bureau, Kyle Walker Dec 2016

Tigris: An R Package To Access And Work With Geographic Data From The Us Census Bureau, Kyle Walker

The R Journal

TIGER/Line shapefiles from the United States Census Bureau are commonly used for the mapping and analysis of US demographic trends. The tigris package provides a uniform interface for R users to download and work with these shapefiles. Functions in tigris allow R users to request Census geographic datasets using familiar geographic identifiers and return those datasets as objects of class "Spatial*DataFrame". In turn, tigris ensures consistent and high-quality spatial data for R users’ cartographic and spatial analysis projects that involve US Census data. This article provides an overview of the functionality of the tigris package, and concludes with an applied …


Mixtox: An R Package For Mixture Toxicity Assessment, Xiang-Wei Zhu, Jian-Yi Chen Dec 2016

Mixtox: An R Package For Mixture Toxicity Assessment, Xiang-Wei Zhu, Jian-Yi Chen

The R Journal

Mixture toxicity assessment is indeed necessary for humans and ecosystems that are continually exposed to a variety of chemical mixtures. This paper describes an R package, called mixtox, which offers a general framework of curve fitting, mixture experimental design, and mixture toxicity prediction for practitioners in toxicology. The unique features of mixtox include: (1) constructing a uniform table for mixture experimental design; and (2) predicting toxicity of a mixture with multiple components based on reference models such as concentration addition, independent action, and generalized concentration addition. We describe the various functions of the package and provide examples to illustrate their …


Water: Tools And Functions To Estimate Actual Evapotranspiration Using Land Surface Energy Balance Models In R, Guillermo Federico Olmedo, Samuel Ortega-Farías, Daniel De La Fuente-Sáiz, David Fonseca- Luego, Fernando Fuentes-Peñailillo Dec 2016

Water: Tools And Functions To Estimate Actual Evapotranspiration Using Land Surface Energy Balance Models In R, Guillermo Federico Olmedo, Samuel Ortega-Farías, Daniel De La Fuente-Sáiz, David Fonseca- Luego, Fernando Fuentes-Peñailillo

The R Journal

The crop water requirement is a key factor in the agricultural process. It is usually estimated throughout actual evapotranspiration (ETa). This parameter is the key to develop irrigation strategies, to improve water use efficiency and to understand hydrological, climatic, and ecosystem processes. Currently, it is calculated with classical methods, which are difficult to extrapolate, or with land surface energy balance models (LSEB), such as METRIC and SEBAL, which are based on remote sensing data. This paper describes water, an open implementation of LSEB. The package provides several functions to estimate the parameters of the LSEB equation from satellite data …


News From The Bioconductor Project, Bioconductor Core Team Dec 2016

News From The Bioconductor Project, Bioconductor Core Team

The R Journal

The Bioconductor project provides tools for the analysis and comprehension of high throughput genomic data. Bioconductor 3.4 was released on 18 October, 2016. It is com patible with R 3.3 and consists of 1296 software packages, 309 experiment data packages, and 933 up-to-date annotation packages. The release announcement includes descriptions of 101 new packages, and updated NEWS files for many additional packages. Start using Bioconductor by installing the most recent version of R and evaluating the commands


Weighted Distance Based Discriminant Analysis: The R Package Wedibadis, Itziar Irigoien, Francesc Mestres, Concepcion Arenas Dec 2016

Weighted Distance Based Discriminant Analysis: The R Package Wedibadis, Itziar Irigoien, Francesc Mestres, Concepcion Arenas

The R Journal

The WeDiBaDis package provides a user friendly environment to perform discriminant analysis (supervised classification). WeDiBaDis is an easy to use package addressed to the biological and medical communities, and in general, to researchers interested in applied studies. It can be suitable when the user is interested in the problem of constructing a discriminant rule on the basis of distances between a relatively small number of instances or units of known unbalanced-class membership measured on many (possibly thousands) features of any type. This is a current situation when analyzing genetic biomedical data. This discriminant rule can then be used both, as …


Computing Pareto Frontiers And Database Preferences With The Rpref Package, Patrick Roocks Dec 2016

Computing Pareto Frontiers And Database Preferences With The Rpref Package, Patrick Roocks

The R Journal

The concept of Pareto frontiers is well-known in economics. Within the database community there exist many different solutions for the specification and calculation of Pareto frontiers, also called Skyline queries in the database context. Slight generalizations like the combination of the Pareto operator with the lexicographical order have been established under the term database preferences. In this paper we present the rPref package which allows to efficiently deal with these concepts within R. With its help, database preferences can be specified in a very similar way as in a state-of-the-art database management system. Our package provides algorithms for an …


Dcovts: Distance Covariance/Correlation For Time Series, Maria Pitsillou, Konstantinos Fokianos Dec 2016

Dcovts: Distance Covariance/Correlation For Time Series, Maria Pitsillou, Konstantinos Fokianos

The R Journal

The distance covariance function is a new measure of dependence between random vectors. We drop the assumption of iid data to introduce distance covariance for time series. The R package dCovTS provides functions that compute and plot distance covariance and correlation functions for both univariate and multivariate time series. Additionally it includes functions for testing serial independence based on distance covariance. This paper describes the theoretical background of distance covariance methodology in time series and discusses in detail the implementation of these methods with the R package dCovTS.


Escape From Boxland, Barret Schloerke, Hadley Wickham, Dianne Cook, Heike Hofmann Dec 2016

Escape From Boxland, Barret Schloerke, Hadley Wickham, Dianne Cook, Heike Hofmann

The R Journal

A library of common geometric shapes can be used to train our brains for understanding data structure in high-dimensional Euclidean space. This article describes the methods for producing cubes, spheres, simplexes, and tori in multiple dimensions. It also describes new ways to define and generate high-dimensional tori. The algorithms are described, critical code chunks are given, and a large collection of generated data are provided. These are available in the R package geozoo, and selected movies and images, are available on the GeoZoo web site (http://schloerke.github.io/geozoo/)


An Introduction To Principal Surrogate Evaluation With The Pseval Package, Michael C. Sachs, Erin E. Gabriel Dec 2016

An Introduction To Principal Surrogate Evaluation With The Pseval Package, Michael C. Sachs, Erin E. Gabriel

The R Journal

We describe a new package called pseval that implements the core methods for the evaluation of principal surrogates in a single clinical trial. It provides a flexible interface for defining models for the risk given treatment and the surrogate, the models for integration over the missing counterfactual surrogate responses, and the estimation methods. Estimated maximum likelihood and pseudo-score can be used for estimation, and the bootstrap for inference. A variety of post-estimation methods are provided, including print, summary, plot, and testing. We summarize the main statistical methods that are implemented in the package and illustrate its use from the perspective …


Variants Of Simple Correspondence Analysis, Rosaria Lombardo, Eric J. Beh Dec 2016

Variants Of Simple Correspondence Analysis, Rosaria Lombardo, Eric J. Beh

The R Journal

This paper presents the R package CAvariants (Lombardo and Beh, 2017). The package performs six variants of correspondence analysis on a two-way contingency table. The main function that shares the same name as the package– CAvariants– allows the user to choose (via a series of input parameters) from six different correspondence analysis procedures. These include the classical approach to (symmetrical) correspondence analysis, singly ordered correspondence analysis, doubly ordered correspondence analysis, non symmetrical correspondence analysis, singly ordered non symmetrical correspondence analysis and doubly ordered non symmetrical correspondence analysis. The code provides the flexibility for constructing either a classical correspondence plot or …


Design Of The Tronco Bioconductor Package For Translational Oncology, Marco Antoniotti, Giulio Caravagna, Luca De Sano, Alex Graudenzi, Giancarlo Mauri, Bud Mishra, Daniele Ramazzotti Dec 2016

Design Of The Tronco Bioconductor Package For Translational Oncology, Marco Antoniotti, Giulio Caravagna, Luca De Sano, Alex Graudenzi, Giancarlo Mauri, Bud Mishra, Daniele Ramazzotti

The R Journal

Models of cancer progression provide insights on the order of accumulation of genetic alterations during cancer development. Algorithms to infer such models from the currently available mutational profiles collected from different cancer patients (cross-sectional data) have been defined in the literature since late the 90s. These algorithms differ in the way they extract a graphical model of the events modelling the progression, e.g., somatic mutations or copy-number alterations.

TRONCO is an R package for TRanslational ONcology which provides a series of functions to assist the user in the analysis of cross-sectional genomic data and, in particular, it implements …


Multiplencc: Inverse Probability Weighting Of Nested Case-Control Data, Nathalie C. Støer, Sven Ove Samuelsen Dec 2016

Multiplencc: Inverse Probability Weighting Of Nested Case-Control Data, Nathalie C. Støer, Sven Ove Samuelsen

The R Journal

Reuse of controls from nested case-control designs can increase efficiency in many situations, for instance with competing risks or in other multiple endpoints situations. The matching between cases and controls must be broken when controls are to be used for other endpoints. A weighted analysis can then be performed to take care of the biased sampling from the cohort. We present the R package multipleNCC for reuse of controls in nested case-control studies by inverse probability weighting of the partial likelihood. The package handles right-censored, left-truncated and additionally matched data, and varying numbers of sampled controls and the whole analysis …


Editorial, Michael Lawrence Dec 2016

Editorial, Michael Lawrence

The R Journal

On behalf of the editorial board, I am pleased to publish Volume 8, Issue 2 of the R Journal. This issue contains 33 contributed research articles. Each of them either presents an R package, a specific extension of an R package or applications using R packages available from the Comprehensive R Archive Network (CRAN, http:://CRAN.R-project.org). This issue highlights the breadth and depth of the R package ecosystem, covering advances in statistical computing and visualization, as well as novel applications of R in specific domains. The authors have described a small but representative sample of the now more than 11000 packages …


Changes In R, R Core Team Aug 2016

Changes In R, R Core Team

The R Journal

CHANGES IN R 3.3.1 patched

CHANGES IN R 3.3.1

CHANGES IN R 3.3.0


Changes On Cran, Kurt Hornik, Achim Zeileis Aug 2016

Changes On Cran, Kurt Hornik, Achim Zeileis

The R Journal

In the past 8 months,1322 new packages were added to the CRAN package repository. 43 packages were unarchived,48 archived,1 package had to be removed.The following shows the growth of the number of active packages in the CRAN package repository:


Nonparametric Tests For The Interaction In Two-Way Factorial Designs Using R, Jos Feys Aug 2016

Nonparametric Tests For The Interaction In Two-Way Factorial Designs Using R, Jos Feys

The R Journal

An increasing number of R packages include nonparametric tests for the interaction in two-way factorial designs. This paper briefly describes the different methods of testing and reports the resulting p-values of such tests on datasets for four types of designs: between, within, mixed, and pretest-posttest designs. Potential users are advised only to apply tests they are quite familiar with and not be guided by p-values for selecting packages and tests.


Spatio-Temporal Interpolation Using Gstat, Benedikt Gräler, Edzer Pebesma, Gerard Heuvelink Aug 2016

Spatio-Temporal Interpolation Using Gstat, Benedikt Gräler, Edzer Pebesma, Gerard Heuvelink

The R Journal

We present new spatio-temporal geostatistical modelling and interpolation capabilities of the R package gstat. Various spatio-temporal covariance models have been implemented, such as the separable, product-sum, metric and sum-metric models. Inareal-world application we comparespatio temporal interpolations using these models with a purely spatial kriging approach. The target variable of the application is the daily mean PM10 concentration measured at rural air quality monitoring stations across Germany in 2005. R code for variogram fitting and interpolation is presented in this paper to illustrate the workflow of spatio-temporal interpolation using gstat. We conclude that the system works properly and that the …


Model Builder For Item Factor Analysis With Openmx, Joshua N. Pritikin, Karen M. Schmidt Aug 2016

Model Builder For Item Factor Analysis With Openmx, Joshua N. Pritikin, Karen M. Schmidt

The R Journal

We introduce a shiny web application to facilitate the construction of Item Factor Analysis (a.k.a. Item Response Theory) models using the OpenMx package. The web application assists with importing data, outcome recoding, and model specification. However, the app does not conduct any analysis but, rather, generates an analysis script. Generated Rmarkdown output serves dual purposes: to analyze a data set and demonstrate good programming practices. The app can be used as a teaching tool or as a starting point for custom analysis scripts.