Get Network Representation of an R Package (pkgnet)
Tools from the domain of graph theory can be used to quantify the complexity and vulnerability to failure of a software package. That is the guiding philosophy of this package. ‘pkgnet’ provides tools to analyze the dependencies between functions in an R package and between its imported packages.

GeoJSON to Simple Feature Converter (geojsonsf)
Converts GeoJSON to simple feature objects.

Calculate and Visualize the Herfindahl-Hirschman Index (hhi)
Based on the aggregated shares retained by individual firms or actors within a market or space, the Herfindahl-Hirschman Index (HHI) measures the level of concentration in the market or space. It is often used as a measure of competition, where 0 equals perfect competition amongst firms or actors and 10,000 equals perfect monopoly. This package allows for intuitive and straightforward computation of the HHI, requiring placement of objects directly into the function, including the data frame first, followed by the name of the vector (or variable) corresponding with the market shares in quotation marks. The package also includes a plot function for quick visual display of HHI time series across any measure of time (year, quarter, month, etc.) Suggested citation of the HHI: Rhoades, Stephen A. (1993, ‘The herfindahl-hirschman index.’ Federal Reserve Bulletin 79: 188).

Sealing the R Objects Test and Assert Conditions (sealr)
Record the state of R object. Outputs include object class and attributes. This helps reduce errors in test results by manual description. The goal is to improve the efficiency of data analysis and package development.

Test for a Neutral Evolutionary Model in Cancer Sequencing Data (neutralitytestr)
Package takes frequencies of mutations as reported by high throughput sequencing data from cancer and fits a theoretical neutral model of tumour evolution. Package outputs summary statistics and contains code for plotting the data and model fits. See Williams et al 2016 <doi:10.1038/ng.3489> and Williams et al 2017 <doi:10.1101/096305> for further details of the method.

Advertisements