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

Articles 511 - 540 of 708

Full-Text Articles in Programming Languages and Compilers

Sparktable: Generating Graphical Tables For Websites And Documents With R, Alexander Kowarik, Bernhard Meindl, Matthias Templ Jun 2015

Sparktable: Generating Graphical Tables For Websites And Documents With R, Alexander Kowarik, Bernhard Meindl, Matthias Templ

The R Journal

Visual analysis of data is important to understand the main characteristics, main trends and relationships in data sets and it can be used to assess the data quality. Using the R package sparkTable, statistical tables holding quantitative information can be enhanced by including spark-type graphs such as sparklines [] and sparkbars [].

These kind of graphics are well-known in literature and are considered as simple, intense and illustrative graphs that are small enough to fit in a single line. Thus, they can easily enrich tables and texts with additional information in a comprehensive visual way.

The R package sparkTable …


Fanplot: An R Package For Visualising Sequential Distributions, Guy J. Abel Jun 2015

Fanplot: An R Package For Visualising Sequential Distributions, Guy J. Abel

The R Journal

Fan charts, first developed by the Bank of England in 1996, have become a standard method for visualising forecasts with uncertainty. Using shading fan charts focus the attention towards the whole distribution away from a single central measure. This article describes the basics of plotting fan charts using an R add-on package alongside some additional methods for displaying sequential distributions. Examples are based on distributions of both estimated parameters from a time series model and future values with uncertainty.


The Gridgraphics Package, Paul Murrell Jun 2015

The Gridgraphics Package, Paul Murrell

The R Journal

The gridGraphics package provides a function, grid.echo(), that can be used to convert a plot drawn with the graphics package to a visually identical plot drawn using grid. This conversion provides access to a variety of grid tools for making customisations and additions to the plot that are not possible with the graphics package/


Peptides: A Package For Data Mining Of Antimicrobial Peptides, Daniel Osorio, Paola Rondón-Villarreal, Rodrigo Torres Jun 2015

Peptides: A Package For Data Mining Of Antimicrobial Peptides, Daniel Osorio, Paola Rondón-Villarreal, Rodrigo Torres

The R Journal

Antimicrobial peptides (AMP) are a promising source of antibiotics with a broad spectrum activity against bacteria and low incidence of developing resistance. The mechanism by which an AMPexecutes its function depends on a set of computable physicochemical properties from the amino acid sequence. The Peptides package was designed to allow the quick and easy computation of ten structural characteristics own of the antimicrobial peptides, with the aim of generating data to increase the accuracy in classification and design of new amino acid sequences. Moreover, the options to read and plot XVG output files from GROMACS molecular dynamics package are included.


Rdrobust: An R Package For Robust Nonparametric Inference In Regression-Discontinuity Designs, Sebastian Calonico, Matias D. Cattaneo, Rocío Titiunik Jun 2015

Rdrobust: An R Package For Robust Nonparametric Inference In Regression-Discontinuity Designs, Sebastian Calonico, Matias D. Cattaneo, Rocío Titiunik

The R Journal

This article describes the R package rdrobust, which provides data-driven graphical and in ference procedures for RD designs. The package includes three main functions: rdrobust, rdbwselect and rdplot. The first function (rdrobust) implements conventional local-polynomial RD treatment effect point estimators and confidence intervals, as well as robust bias-corrected confidence intervals, for average treatment effects at the cutoff. This function covers sharp RD, sharp kink RD, fuzzy RD and fuzzy kink RD designs, among other possibilities. The second function (rdbwselect) implements several bandwidth selectors proposed in the RD literature. The third function (rdplot) provides data-driven optimal choices of evenly-spaced and …


News From The Bioconductor Project, Bioconductor Team Jun 2015

News From The Bioconductor Project, Bioconductor Team

The R Journal

The Bioconductor project provides tools for the analysis and comprehension of high throughput genomic data. The 1024 software packages available in Bioconductor can be viewed at http://bioconductor.org/packages/. Navigate packages using ‘biocViews’ terms and title search. Each package has an html page with a description, links to vignettes, reference manuals, and usage statistics. Start using Bioconductor version 3.1 by installing R 3.2.1 and evaluating the commandS


Showtext: Using System Fonts In R Graphics, Yixuan Qiu Jun 2015

Showtext: Using System Fonts In R Graphics, Yixuan Qiu

The R Journal

This article introduces the showtext package that makes it easy to use system fonts in R graphics. Unlike other methods to embedfonts into graphics, showtext converts text into raster images or polygons, and then adds them to the plot canvas. This method produces platform-independent image files that do not rely on the fonts that create them. It supports a large number of font formats and Rgraphics devices, and meanwhile provides convenient features such as using web fonts and integrating with knitr. This article provides an elaborate introduction to the showtext package, including its design, usage, and examples.


Editorial, Bettina Grün Jun 2015

Editorial, Bettina Grün

The R Journal

On behalf of the editorial board, I am pleased to publish Volume 7, Issue 1 of the R Journal. This issue contains 16 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). It thus provides a small insight into the wide variety of functionality covered currently by the more than 6800 packages available from CRAN.


Manipulation Of Discrete Random Variables With Discreterv, Eric Hare, Andreas Buja, Heike Hofmann Jun 2015

Manipulation Of Discrete Random Variables With Discreterv, Eric Hare, Andreas Buja, Heike Hofmann

The R Journal

A prominent issue in statistics education is the sometimes large disparity between the theoretical and the computational coursework. discreteRV is an R package for manipulation of discrete random variables which uses clean and familiar syntax similar to the mathematical notation in introductory probability courses. The package offers functions that are simple enough for users with little experience with statistical programming, but has more advanced features which are suitable for a large number of more complex applications. In this paper, we introduce and motivate discreteRV, describe its functionality, and provide reproducible examples illustrating its use.


The Complex Multivariate Gaussian Distribution, Robin K.S. Hankin Jun 2015

The Complex Multivariate Gaussian Distribution, Robin K.S. Hankin

The R Journal

Here I introduce package cmvnorm, a complex generalization of the mvtnorm package. A complex generalization of the Gaussian process is suggested and numerical results presented using the package. An application in the context of approximating the Weierstrass-function using a complex Gaussian process is given.


Changes In R, R Core Team Jun 2015

Changes In R, R Core Team

The R Journal

CHANGES IN R 3.2.1

CHANGES IN R 3.2.0

CHANGES IN R 3.1.3


Changes On Cran, Kurt Hornik, Achim Zeileis Jun 2015

Changes On Cran, Kurt Hornik, Achim Zeileis

The R Journal

New packages in CRAN task views

New contributed packages

Other changes


R Foundation News, Kurt Hornik Jun 2015

R Foundation News, Kurt Hornik

The R Journal

Donations

New Supporting Institutions

New Supporting Members


Implementing Persistent O(1) Stacks And Queues In R, Shawn T. O'Neil Jun 2015

Implementing Persistent O(1) Stacks And Queues In R, Shawn T. O'Neil

The R Journal

True to their functional roots, most R functions are side-effect-free, and users expect datatypes to be persistent. However, these semantics complicate the creation of efficient and dynamic data structures. Here, we describe the implementation of stack and queue data structures satisfying these conditions in R, available in the CRAN package rstackdeque. Guided by important work in purely functional languages, we look at both partially- and fully-persistent versions of queues, comparing their performance characteristics. Finally, we illustrate the usefulness of such dynamic structures with examples of generating and solving mazes.


R As An Environment For Reproducible Analysis Of Dna Amplification Experiments, Stefan Rödiger, Michał Burdukiewicz, Konstantin Blagodatskikh, Michael Jahn, Peter Schierack Jun 2015

R As An Environment For Reproducible Analysis Of Dna Amplification Experiments, Stefan Rödiger, Michał Burdukiewicz, Konstantin Blagodatskikh, Michael Jahn, Peter Schierack

The R Journal

There is an ever-increasing number of applications, which use quantitative PCR (qPCR) or digital PCR (dPCR) to elicit fundamentals of biological processes. Moreover, quantitative isothermal amplification (qIA) methods have become more prominent in life sciences and point-of-care diagnostics. Additionally, the analysis of melting data is essential during many experiments. Several software packages have been developed for the analysis of such datasets. In most cases, the software is either distributed as closed source software or as monolithic block with little freedom to perform highly customized analysis procedures. We argue, among others, that R is an excellent foundation for reproducible and transparent …


Correspondence Analysis On Generalised Aggregated Lexical Tables (Ca-Galt) In The Factominer Package, Belchin Kostov, Mónica Bécue-Bertaut, François Husson Jun 2015

Correspondence Analysis On Generalised Aggregated Lexical Tables (Ca-Galt) In The Factominer Package, Belchin Kostov, Mónica Bécue-Bertaut, François Husson

The R Journal

Correspondence analysis on generalised aggregated lexical tables (CA-GALT) is a method that generalizes classical CA-ALT to the case of several quantitative, categorical and mixed variables. It aims to establish a typology of the external variables and a typology of the events from their mutual relationships. In order to do so, the influence of external variables on the lexical choices is untangled cancelling the associations among them, and to avoid the instability issued from multicollinearity, they are substituted by their principal components. The CaGalt function, implemented in the FactoMineR package, provides numerous numerical and graphical outputs. Confidence ellipses are also provided …


Sae: An R Package For Small Area Estimation, Isabel Molina, Yolanda Marhuenda Jun 2015

Sae: An R Package For Small Area Estimation, Isabel Molina, Yolanda Marhuenda

The R Journal

We describe the R package sae for small area estimation. This package can be used to obtain model-based estimates for small areas based on a variety of models at the area and unit levels, along with basic direct and indirect estimates. Mean squared errors are estimated by analytical approximations in simple models and applying bootstrap procedures in more complex models. We describe the package functions and show how to use them through examples.


The R Journal (June 2015) 7(1): Complete Issue, The R Foundation Jun 2015

The R Journal (June 2015) 7(1): Complete Issue, The R Foundation

The R Journal

Editorial, Bettina Grün

Contributed Research Articles

Peptides: A Package for Data Mining of Antimicrobial Peptides, Daniel Osorio, Paola Rondón-Villarreal, and Rodrigo Torres

fanplot: An R Package for Visualising Sequential Distributions, Guy J. Abel

sparkTable: Generating Graphical Tables for Websites and Documents with R, Alexander Kowarik, Bernhard Meindl, and Matthias Templ

rdrobust: An R Package for Robust Nonparametric Inference in Regression-Discontinuity Designs, Sebastian Calonico, Matias D. Cattaneo, and Rocío Titiunik

Frames2: A Package for Estimation in Dual Frame Surveys, Antonio Arcos, David Molina, Maria Giovanna Ranalli, and María del Mar Rueda

The Complex Multivariate Gaussian Distribution, Robin K. S. Hankin

sae: …


Frames2: A Package For Estimation In Dual Frame Surveys, Antonio Arcos, David Molina, Maria Giovanna Ranalli, Maria Del Mar Rueda Jun 2015

Frames2: A Package For Estimation In Dual Frame Surveys, Antonio Arcos, David Molina, Maria Giovanna Ranalli, Maria Del Mar Rueda

The R Journal

Data from complex survey designs require special consideration with regard to estimation of finite population parameters and corresponding variance estimation procedures, as a consequence of significant departures from the simple random sampling assumption. In the past decade a number of statistical software packages have been developed to facilitate the analysis of complex survey data. All these statistical software packages are able to treat samples selected from one sampling frame containing all population units. Dual frame surveys are very useful when it is not possible to guarantee a complete coverage of the target population and may result in considerable cost savings …


Changes On Cran, Kurt Hornik, Achim Zeileis Dec 2014

Changes On Cran, Kurt Hornik, Achim Zeileis

The R Journal

New packages in CRAN task views

New contributed packages

Other changes


Qmethod: A Package To Explore Human Perspectives Using Q Methodology, Aiora Zabala Dec 2014

Qmethod: A Package To Explore Human Perspectives Using Q Methodology, Aiora Zabala

The R Journal

Q is a methodology to explore the distinct subjective perspectives that exist within a group. It is used increasingly across disciplines. The methodology is semi-qualitative and the data are analysed using data reduction methods to discern the existing patterns of thought. This package is the first to perform Q analysis in R, and it provides many advantages to the existing software: namely, it is fully cross-platform, the algorithms can be transparently examined, it provides results in a clearly structured and tabulated form ready for further exploration and modelling, it produces a graphical summary of the results, and it generates a …


Farewell's Linear Increments Model For Missing Data: The Flim Package, Rune Hoff, Jon Michael Gran, Daniel Farewell Dec 2014

Farewell's Linear Increments Model For Missing Data: The Flim Package, Rune Hoff, Jon Michael Gran, Daniel Farewell

The R Journal

Missing data is common in longitudinal studies. We present a package for Farewell’s Linear Increments Model for Missing Data (the FLIM package), which can be used to fit linear models for observed increments of longitudinal processes and impute missing data. The method is valid for data with regular observation patterns. The end result is a list of fitted models and a hypothetical complete dataset corresponding to the data we might have observed had individuals not been missing. The FLIM package may also be applied to longitudinal studies for causal analysis, by considering counterfactual data as missing data- for instance to …


Flexible R Functions For Processing Accelerometer Data, With Emphasis On Nhanes 2003–2006, Dane R. Van Domelen, W. Stephen Pittard Dec 2014

Flexible R Functions For Processing Accelerometer Data, With Emphasis On Nhanes 2003–2006, Dane R. Van Domelen, W. Stephen Pittard

The R Journal

Accelerometers are a valuable tool for measuring physical activity (PA) in epidemiological studies. However, considerable processing is needed to convert time-series accelerometer data into meaningful variables for statistical analysis. This article describes two recently developed R packages for processing accelerometer data. The package accelerometry contains functions for performing various data processing procedures, such as identifying periods of non-wear time and bouts of activity. The functions are flexible, computationally efficient, and compatible with uniaxial or triaxial data. The package nhanesaccel is specifically for processing data from the National Health and Nutrition Examination Survey (NHANES), years 2003–2006. Its primary function generates measures …


Automatic Conversion Of Tables To Longform Dataframes, Jimmy Oh Dec 2014

Automatic Conversion Of Tables To Longform Dataframes, Jimmy Oh

The R Journal

TableToLongForm automatically converts hierarchical Tables intended for a human reader into a simple LongForm dataframe that is machine readable, making it easier to access and use the data for analysis. It does this by recognising positional cues present in the hierarchical Table (which would normally be interpreted visually by the human brain) to decompose, then reconstruct the data into a LongForm dataframe. The article motivates the benefit of such a conversion with an example Table, followed by a short user manual, which includes a comparison between the simple one argument call to TableToLongForm, with code for an equivalent manual conversion. …


Gset: An R Package For Exact Sequential Test Of Equivalence Hypothesis Based On Bivariate Non-Central T-Statistics, Fang Liu Dec 2014

Gset: An R Package For Exact Sequential Test Of Equivalence Hypothesis Based On Bivariate Non-Central T-Statistics, Fang Liu

The R Journal

The R package gset calculates equivalence and futility boundaries based on the exact bivariate non-central t test statistics. It is the first R package that targets specifically at the group sequential test of equivalence hypotheses. The exact test approach adopted by gset neither assumes the large-sample normality of the test statistics nor ignores the contribution to the overall Type I error rate from rejecting one out of the two one-sided hypotheses under a null value. The features of gset include: error spending functions, computation of equivalence boundaries and futility boundaries, either binding or nonbinding, depiction of stagewise boundary plots, and …


Editorial, Deepayan Sarkar Dec 2014

Editorial, Deepayan Sarkar

The R Journal

On behalf of the editorial board, I am pleased to publish Volume 6, Issue 2 of the R Journal.


Mvn: An R Package For Assessing Multivariate Normality, Selcuk Korkmaz, Dincer Goksuluk, Gokmen Zararsiz Dec 2014

Mvn: An R Package For Assessing Multivariate Normality, Selcuk Korkmaz, Dincer Goksuluk, Gokmen Zararsiz

The R Journal

Assessing the assumption of multivariate normality is required by many parametric multivariate statistical methods, such as MANOVA, linear discriminant analysis, principal component analysis, canonical correlation, etc. It is important to assess multivariate normality in order to proceed with such statistical methods. There are many analytical methods proposed for checking multivariate normality. However, deciding which method to use is a challenging process, since each method may give different results under certain conditions. Hence, we may say that there is no best method, which is valid under any condition, for normality checking. In addition to numerical results, it is very useful to …


Coordinate-Based Meta-Analysis Of Fmri Studies With R, Andrea Stocco Dec 2014

Coordinate-Based Meta-Analysis Of Fmri Studies With R, Andrea Stocco

The R Journal

This paper outlines how to conduct a simple meta-analysis of neuroimaging foci of activation in R. In particular, the first part of this paper reviews the nature of fMRI data, and presents a brief overview of the existing packages that can be used to analyze fMRI data in R. The second part illustrates how to handle fMRI data by showing how to visualize the results of different neuroimaging studies in a so-called orthographic view, where the spatial distribution of the foci of activation from different fMRI studies can be inspected visually.

Functional MRI (fMRI) is one of the most important …


Bshazard: A Flexible Tool For Nonparametric Smoothing Of The Hazard Function, Paola Rebora, Agus Salim, Marie Reilly Dec 2014

Bshazard: A Flexible Tool For Nonparametric Smoothing Of The Hazard Function, Paola Rebora, Agus Salim, Marie Reilly

The R Journal

The hazard function is a key component in the inferential process in survival analysis and relevant for describing the pattern of failures. However, it is rarely shown in research papers due to the difficulties in nonparametric estimation. We developed the bshazard package to facilitate the computation of a nonparametric estimate of the hazard function, with data-driven smoothing. The method accounts for left truncation, right censoring and possible covariates. B-splines are used to estimate the shape of the hazard within the generalized linear mixed models frame work. Smoothness is controlled by imposing an autoregressive structure on the baseline hazard coefficients. This …


Prinsimp, Jonathan Zhang, Nancy Heckman, Davor Cubranic, Joel G. Kingsolver, Travis Gaydos, J.S. Marron Dec 2014

Prinsimp, Jonathan Zhang, Nancy Heckman, Davor Cubranic, Joel G. Kingsolver, Travis Gaydos, J.S. Marron

The R Journal

Principal Components Analysis (PCA) is a common way to study the sources of variation in a high-dimensional data set. Typically, the leading principal components are used to understand the variation in the data or to reduce the dimension of the data for subsequent analysis. The remaining principal components are ignored since they explain little of the variation in the data. However, the space spanned by the low variation principal components may contain interesting structure, structure that PCA cannot find. Prinsimp is an R package that looks for interesting structure of low variability. “Interesting” is defined in terms of a simplicity …