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

Numerical Analysis and Scientific Computing

Institution
Keyword
Publication Year
Publication
Publication Type
File Type

Articles 511 - 540 of 774

Full-Text Articles in Programming Languages and Compilers

The R Journal (August 2016) 8(1): Complete Issue, The R Foundation Aug 2016

The R Journal (August 2016) 8(1): Complete Issue, The R Foundation

The R Journal

Editorial, Michael Lawrence

Contributed Research Articles

metaplus: An R Package for the Analysis of Robust Meta-Analysis and Meta-Regression, Ken J. Beath

Gender Prediction Methods Based on First Names with genderizeR, Kamil Wais

Conditional Fractional Gaussian Fields with the Package FieldSim, Alexandre Brouste, Jacques Istas, and Sophie Lambert-Lacroix

rTableICC: An R Package for Random Generation of 22K and RC Contingency Tables, Haydar Demirhan

Maps, Coordinate Reference Systems and Visualising Geographic Data with mapmisc, Patrick E. Brown

Variable Clustering in High-Dimensional Linear Regression: The R Package clere, Loïc Yengo, Julien Jacques, Christophe Biernacki, and Mickael Canouil

Stylometry with R: A Package for …


R Packages To Aid In Handling Web Access Logs, Oliver Keyes, Bob Rudis, Jay Jacobs Aug 2016

R Packages To Aid In Handling Web Access Logs, Oliver Keyes, Bob Rudis, Jay Jacobs

The R Journal

Web access logs contain information on HTTP(S) requests and form a key part of both industry and academic explorations of human behaviour on the internet. But the preparation (reading, parsing and manipulation) of that data is just unique enough to make generalized tools unfit for the task, both in programming time and processing time which are compounded when dealing with large data sets common with web access logs. In this paper we explain and demonstrate a series of packages designed to efficiently read in, parse and munge access log data, allowing researchers to handle URLs and IP addresses easily. These …


Using Decipher V2.0 To Analyze Big Biological Sequence Data In R, Erik S. Wright Aug 2016

Using Decipher V2.0 To Analyze Big Biological Sequence Data In R, Erik S. Wright

The R Journal

In recent years, the cost of DNA sequencing has decreased at a rate that has outpaced improvements in memory capacity. It is now common to collect or have access to many gigabytes of biological sequences. This has created an urgent need for approaches that analyze sequences in subsets without requiring all of the sequences to be loaded into memory at one time. It has also opened opportunities to improve the organization and accessibility of information acquired in sequencing projects. The DECIPHER package offers solutions to these problems by assisting in the curation of large sets of biological sequences stored in …


Progenyclust: An R Package For Progeny Clustering, Chenyue W. Hu, Amina A. Qutub Aug 2016

Progenyclust: An R Package For Progeny Clustering, Chenyue W. Hu, Amina A. Qutub

The R Journal

Identifying the optimal number of clusters is a common problem faced by data scientists in various research fields and industry applications. Though many clustering evaluation techniques have been developed to solve this problem, the recently developed algorithm Progeny Clustering is a much faster alternative and one that is relevant to biomedical applications. In this paper, we introduce an R package progenyClust that implements and extends the original Progeny Clustering algorithm for evaluating clustering stability and identifying the optimal cluster number. We illustrate its applicability using two examples: a simulated test dataset for proof-of-concept, and a cell imaging dataset for demonstrating …


Schemaonread: A Package For Schema-On-Read In R, Michael J. North Aug 2016

Schemaonread: A Package For Schema-On-Read In R, Michael J. North

The R Journal

SchemaOnRead is a CRAN package that provides an extensible mechanism for importing a wide range of file types into R as well as support for the emerging schema-on-read paradigm in R. The schema-on-read tools within the package include a single function call that recursively reads folders with text, comma separated value, raster image, R data, HDF5, NetCDF, spreadsheet, Weka, Epi Info, Pajek network, R network, HTML, SPSS, Systat, and Stata files. It also recursively reads folders (e.g., schemaOnRead("folder")), returning a nested list of the contained elements. The provided tools can be used as-is or easily customized to implement tool chains …


Cryptrndtest: An R Package For Testing The Cryptographic Randomness, Haydar Demirhan, Nihan Bitirim Aug 2016

Cryptrndtest: An R Package For Testing The Cryptographic Randomness, Haydar Demirhan, Nihan Bitirim

The R Journal

n this article, we introduce the R package CryptRndTest that performs eight statistical randomness tests on cryptographic random number sequences. The purpose of the package is to provide software implementing recently proposed cryptographic randomness tests utilizing goodness of-fit tests superior to the usual chi-square test in terms of statistical performance. Most of the tests included in package CryptRndTest are not available in other software packages such as the R package RDieHarder or the C library TestU01. Chi-square, Anderson-Darling, Kolmogorov-Smirnov, and Jarque-Bera goodness-of-fit procedures are provided along with cryptographic randomness tests. CryptRndTest utilizes multiple precision floating numbers for sequences longer than …


Scmamp: Statistical Comparison Of Multiple Algorithms In Multiple Problems, Borja Calvo, Guzmán Santafé Aug 2016

Scmamp: Statistical Comparison Of Multiple Algorithms In Multiple Problems, Borja Calvo, Guzmán Santafé

The R Journal

Comparing the results obtained by two or more algorithms in a set of problems is a central task in areas such as machine learning or optimization. Drawing conclusions from these comparisons may require the use of statistical tools such as hypothesis testing. There are some interesting papers that cover this topic. In this manuscript we present scmamp, an R package aimed at being a tool that simplifies the whole process of analyzing the results obtained when comparing algorithms, from loading the data to the production of plots and tables.

Comparing the performance of different algorithms is an essential step …


Swmpr: An R Package For Retrieving, Organizing, And Analyzing Environmental Data For Estuaries, Marcus W. Beck Aug 2016

Swmpr: An R Package For Retrieving, Organizing, And Analyzing Environmental Data For Estuaries, Marcus W. Beck

The R Journal

The System-Wide Monitoring Program (SWMP)was implemented in 1995 by the US National Estuarine Research Reserve System. This program has provided two decades of continuous monitoring data at over 140 fixed stations in 28 estuaries. However, the increasing quantity of data provided by the monitoring network has complicated broad-scale comparisons between systems and, in some cases, prevented simple trend analysis of water quality parameters at individual sites. This article describes the SWMPr package that provides several functions that facilitate data retrieval, organization, and analysis of time series data in the reserve estuaries. Previously unavailable functions for estuaries are also provided to …


Fwdselect: An R Package For Variable Selection In Regression Models, Marta Sestelo, Nora M. Villanueva, Luis Meira-Machado, Javier Roca-Pardiñas Aug 2016

Fwdselect: An R Package For Variable Selection In Regression Models, Marta Sestelo, Nora M. Villanueva, Luis Meira-Machado, Javier Roca-Pardiñas

The R Journal

In multiple regression models, when there are a large number (p) of explanatory variables which may o rmay not be relevant for predicting the response, it is useful to be able to reduce the model. To this end, it is necessary to determine the best subset of q (q p) predictors which will establish the model with the best prediction capacity. FWDselect package introduces a new forward stepwise based selection procedure to select the best model in different regression frameworks (parametric or nonparametric). The developed methodology, which can be equally applied to linear models, generalized linear models or generalized additive …


Quickpsy: An R Package To Fit Psychometric Functions For Multiple Groups, Daniel Linares, Joan López-Moliner Aug 2016

Quickpsy: An R Package To Fit Psychometric Functions For Multiple Groups, Daniel Linares, Joan López-Moliner

The R Journal

quickpsy is a package to parametrically fit psychometric functions. In comparison with previous R packages, quickpsy was built to easily fit and plot data for multiple groups. Here, we describe the standard parametric model used to fit psychometric functions and the standard estimation of its parameters using maximum likelihood. We also provide examples of usage of quickpsy, including how allowing the lapse rate to vary can sometimes eliminate the bias in parameter estimation, but not in general. Finally, we describe some implementation details, such as how to avoid the problems associated to round-off errors in the maximisation of the …


Variable Clustering In High-Dimensional Linear Regression: The R Package Clere, Loïc Yengo, Julien Jacques, Christophe Biernacki, Mickael Canouil Aug 2016

Variable Clustering In High-Dimensional Linear Regression: The R Package Clere, Loïc Yengo, Julien Jacques, Christophe Biernacki, Mickael Canouil

The R Journal

Dimension reduction is one of the biggest challenges in high-dimensional regression models. We recently introduced a new methodology based on variable clustering as a means to reduce dimensionality. We present here the R package clere that implements some refinements of this methodology. An overview of the package functionalities as well as examples to run an analysis are described. Numerical experiments on real data were performed to illustrate the good predictive performance of our parsimonious method compared to standard dimension reduction approaches.


Rtableicc: An R Package For Random Generation Of 22k And Rc Contingency Tables, Haydar Demirhan Aug 2016

Rtableicc: An R Package For Random Generation Of 22k And Rc Contingency Tables, Haydar Demirhan

The R Journal

In this paper, we describe the R package rTableICC that provides an interface for random generation of 2 2 K and R Ccontingency tables constructed over either intraclass-correlated or uncorrelated individuals. Intraclass correlations arise in studies where sampling units include more than one individual and these individuals are correlated. The package implements random generation of contingency tables over individuals with or without intraclass correlations under various sampling plans. The package include two functions for the generation of K 2 2 tables over product-multinomial sampling schemes and that of 2 2 K tables under Poisson or multinomial sampling plans. It also …


Editorial, Michael Lawrence Aug 2016

Editorial, Michael Lawrence

The R Journal

On behalf of the editorial board, I am pleased to publish Volume 8, Issue 1 of the R Journal. This issue contains 27 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 but current cross-section of the burgeoning R ecosystem.


Estimability Tools For Package Developers, Russell V. Lenth Jun 2016

Estimability Tools For Package Developers, Russell V. Lenth

The R Journal

When a linear model is rank-deficient, then predictions based on that model become questionable because not all predictions are uniquely estimable. However, some of them are, and the estimability package provides tools that package developers can use to tell which is which. With the use of these tools, a model object’s predict method could return estimable predictions as-is while f lagging non-estimable ones in some way, so that the user can know which predictions to believe. The estimability package also provides, as a demonstration, an estimability-enhanced epredict method to use in place of predict for models fitted using the stats …


An R Package For The Panel Approach Method For Program Evaluation: Pampe, Ainhoa Vega-Bayo Dec 2015

An R Package For The Panel Approach Method For Program Evaluation: Pampe, Ainhoa Vega-Bayo

The R Journal

The pampe package for R implements the panel data approach method for program evaluation designed to estimate the causal effects of political interventions or treatments. This procedure exploits the dependence among cross-sectional units to construct a counterfactual of the treated unit(s), and it is an appropriate method for research events that occur at an aggregate level like countries or regions and that affect only one or a small number of units. The implementation of the pampe package is illustrated using data from Hong Kong and 24 other units, by examining the economic impact of the political and economic integration of …


Conference Report: User! 2015, Torben Tvedebrink Dec 2015

Conference Report: User! 2015, Torben Tvedebrink

The R Journal

The11thinternational R user conference, useR! 2015, took place in Aalborg, Denmark, 1–3 July 2015. The Department of Mathematical Sciences, Aalborg University, hosted the conference, which took place in Aalborg Congress and Culture Centre.


Mmpp: A Package For Calculating Similarity And Distance Metrics For Simple And Marked Temporal Point Processes, Hideitsu Hino, Ken Takano, Noboru Murata Dec 2015

Mmpp: A Package For Calculating Similarity And Distance Metrics For Simple And Marked Temporal Point Processes, Hideitsu Hino, Ken Takano, Noboru Murata

The R Journal

A simple temporal point process (SPP) is an important class of time series, where the sample realization of the process is solely composed of the times at which events occur. Particular examples of point process data are neuronal spike patterns or spike trains, and a large number of distance and similarity metrics for those data have been proposed. A marked point process (MPP) is an extension of a simple temporal point process, in which a certain vector valued mark is associated with each of the temporal points in the SPP. Analyses of MPPs are of practical importance because instances of …


Abctools: An R Package For Tuning Approximate Bayesian Computation Analyses, Matthew A. Nunes, Dennis Prangle Dec 2015

Abctools: An R Package For Tuning Approximate Bayesian Computation Analyses, Matthew A. Nunes, Dennis Prangle

The R Journal

Approximate Bayesian computation (ABC) is a popular family of algorithms which perform approximate parameter inference when numerical evaluation of the likelihood function is not possible but data can be simulated from the model. They return a sample of parameter values which produce simulations close to the observed dataset. A standard approach is to reduce the simulated and observed datasets to vectors of summary statistics and accept when the difference between these is below a specified threshold. ABC can also be adapted to perform model choice.

In this article, we present a new software package for R, abctools which provides methods …


Practools: Computations For Design Of Finite Population Samples, Richard Valliant, Jill A. Dever, Frauke Kreuter Dec 2015

Practools: Computations For Design Of Finite Population Samples, Richard Valliant, Jill A. Dever, Frauke Kreuter

The R Journal

PracTools is an R package with functions that compute sample sizes for various types of finite population sampling designs when totals or means are estimated. One-, two-, and three-stage designs are covered as well as allocations for stratified sampling and probability proportional to size sampling. Sample allocations can be computed that minimize the variance of an estimator subject to a budget constraint or that minimize cost subject to a precision constraint. The package also contains some specialized functions for estimating variance components and design effects. Several finite populations are included that are useful for classroom instruction.


Clustvarlv: An R Package For The Clustering Of Variables Around Latent Variables, Evelyne Vigneau, Mingkun Chen, El Mostafa Qannari Dec 2015

Clustvarlv: An R Package For The Clustering Of Variables Around Latent Variables, Evelyne Vigneau, Mingkun Chen, El Mostafa Qannari

The R Journal

The clustering of variables is a strategy for deciphering the underlying structure of a data set. Adopting an exploratory data analysis point of view, the Clustering of Variables around Latent Variables (CLV) approach has been proposed by Vigneau and Qannari (2003). Based on a family of optimization criteria, the CLV approach is adaptable to many situations. In particular, constraints may be introduced in order to take account of additional information about the observations and/or the variables. In this paper, the CLV method is depicted and the R package ClustVarLV including a set of functions developed so far within this framework …


Srcs: Statistical Ranking Color Scheme For Visualizing Parameterized Multiple Pairwise Comparisons With R, Pablo J. Villacorta, José A. Sáez Dec 2015

Srcs: Statistical Ranking Color Scheme For Visualizing Parameterized Multiple Pairwise Comparisons With R, Pablo J. Villacorta, José A. Sáez

The R Journal

The problem of comparing a new solution method against existing ones to find statistically significant differences arises very often in sciences and engineering. When the problem instance being solved is defined by several parameters, assessing a number of methods with respect to many problem configurations simultaneously becomes a hard task. Some visualization technique is required for presenting a large number of statistical significance results in an easily interpretable way. Here we review an existing color-based approach called Statistical Ranking Color Scheme (SRCS) for displaying the results of multiple pairwise statistical comparisons between several methods assessed separately on a number of …


Zoib: An R Package For Bayesian Inference For Beta Regression And Zero/One Inflated Beta Regression, Fang Liu, Yunchuan Kong Dec 2015

Zoib: An R Package For Bayesian Inference For Beta Regression And Zero/One Inflated Beta Regression, Fang Liu, Yunchuan Kong

The R Journal

The beta distribution is a versatile function that accommodates a broad range of probability distribution shapes. Beta regression based on the beta distribution can be used to model a response variable y that takes values in open unit interval (0,1). Zero/one inflated beta (ZOIB) regression models can be applied when y takes values from closed unit interval [0,1]. The ZOIB model is based a piecewise distribution that accounts for the probability mass at 0 and 1, in addition to the probability density within (0,1). This paper introduces an R package– zoib that provides Bayesian inferences for a class of ZOIB …


Vsurf: An R Package For Variable Selection Using Random Forests, Robin Genuer, Jean-Michel Poggi, Christine Tuleau-Malot Dec 2015

Vsurf: An R Package For Variable Selection Using Random Forests, Robin Genuer, Jean-Michel Poggi, Christine Tuleau-Malot

The R Journal

This paper describes the R package VSURF. Based on random forests, and for both regression and classification problems, it returns two subsets of variables. The first is a subset of important variables including some redundancy which can be relevant for interpretation, and the second one is a smaller subset corresponding to a model trying to avoid redundancy focusing more closely on the prediction objective. The two-stage strategy is based on a preliminary ranking of the explanatory variables using the random forests permutation-based score of importance and proceeds using a stepwise forward strategy for variable introduction. The two proposals can …


Generalized Hermite Distribution Modelling With The R Package Hermite, David Moriña, Manuel Higueras, Pedro Puig, María Oliveira Dec 2015

Generalized Hermite Distribution Modelling With The R Package Hermite, David Moriña, Manuel Higueras, Pedro Puig, María Oliveira

The R Journal

The Generalized Hermite distribution (and the Hermite distribution as a particular case) is often used for fitting count data in the presence of over-dispersion or multimodality. Despite this, to our knowledge, no standard software packages have implemented specific functions to compute basic probabilities and make simple statistical inference based on these distributions. We present here a set of computational tools that allows the user to face these difficulties by modelling with the Generalized Hermite distribution using the R package hermite. The package can also be used to generate random deviates from a Generalized Hermite distribution and to use basic …


Numerical Evaluation Of The Gauss Hypergeometric Function With The Hypergeo Package, Robin K. S. Hankin Dec 2015

Numerical Evaluation Of The Gauss Hypergeometric Function With The Hypergeo Package, Robin K. S. Hankin

The R Journal

This paper introduces the hypergeo package of R routines for numerical calculation of hypergeometric functions. The package is focussed on efficient and accurate evaluation of the Gauss hypergeometric function over the whole of the complex plane within the constraints of fixed-precision arithmetic. The hypergeometric series is convergent only within the unit circle, so analytic continuation must be used to define the function outside the unit circle. This short document outlines the numerical and conceptual methods used in the package; and justifies the package philosophy, which is to maintain transparent and verifiable links between the software and Abramowitz and Stegun (1965). …


Treeclust: An R Package For Tree-Based Clustering Dissimilarities, Samuel E. Buttrey, Lyn R. Whitaker Dec 2015

Treeclust: An R Package For Tree-Based Clustering Dissimilarities, Samuel E. Buttrey, Lyn R. Whitaker

The R Journal

This paper describes treeClust, an R package that produces dissimilarities useful for clustering. These dissimilarities arise from a set of classification or regression trees, one with each variable in the data acting in turn as a the response, and all others as predictors. This use of trees produces dissimilarities that are insensitive to scaling, benefit from automatic variable selection, and appear to perform well. The software allows a number of options to be set, affecting the set of objects returned in the call; the user can also specify a clustering algorithm and, optionally, return only the clustering vector. The …


Editorial, Bettina Grün Dec 2015

Editorial, Bettina Grün

The R Journal

On behalf of the editorial board, I am pleased to publish Volume 7, Issue 2 of the R Journal. This issue contains 20 contributed research articles and several contributions to the News and Notes section.


Code Profiling In R: A Review Of Existing Methods And An Introduction To Package Guiprofiler, Angel Rubio, Fernando De Villar Dec 2015

Code Profiling In R: A Review Of Existing Methods And An Introduction To Package Guiprofiler, Angel Rubio, Fernando De Villar

The R Journal

Code analysis tools are crucial to understand program behavior. Profile tools use the results of time measurements in the execution of a program to gain this understanding and thus help in the optimization of the code. In this paper, we review the different available packages to profile R code and show the advantages and disadvantages of each of them. In additon, we present GUIProfiler, a package that fulfills some unmet needs

Package GUIProfiler generates an HTML report with the timing for each code line and the relationships between different functions. This package mimics the behavior of the MATLAB profiler. …


Quantifquantile: An R Package For Performing Quantile Regression Through Optimal Quantization, Isabelle Charlier, Davy Paindaveine, Jérôme Saracco Dec 2015

Quantifquantile: An R Package For Performing Quantile Regression Through Optimal Quantization, Isabelle Charlier, Davy Paindaveine, Jérôme Saracco

The R Journal

In quantile regression, various quantiles of a response variable Y are modelled as functions of covariates (rather than its mean). An important application is the construction of reference curves/surfaces and conditional prediction intervals for Y. Recently, a nonparametric quantile regression method based on the concept of optimal quantization was proposed. This method competes very well with k-nearest neighbor, kernel, and spline methods. In this paper, we describe an R package, called QuantifQuantile, that allows to perform quantization-based quantile regression. We describe the various functions of the package and provide examples.


Changes In R, The R Core Team Dec 2015

Changes In R, The R Core Team

The R Journal

CHANGES IN R 3.2.3

CHANGES IN R 3.2.2