Flexibly convert data between long and wide format using just two functions: reshape_toLong()
and reshape_toWide()
.
This package contains data sets, examples and software from the book Design of Observational Studies by Paul R. Rosenbaum, New York: Springer, <doi:10.1007/978-1-4419-1213-8>, ISBN 978-1-4419-1212-1.
This package provides tools to render DOT diagram markup language in R and also provides the possibility to export the graphs in PostScript and SVG (Scalable Vector Graphics) formats. In addition, it supports literate programming packages such as knitr
and rmarkdown
.
This package provides a parallel backend for the %dopar%
function using the multicore functionality of the parallel package.
This package contains data sets, examples and software from the Second Edition of "Design of Observational Studies"; see Rosenbaum, P.R. (2010) <doi:10.1007/978-1-4419-1213-8>.
The distributed online expectation maximization algorithms are used to solve parameters of Poisson mixture models. The philosophy of the package is described in Guo, G. (2022) <doi:10.1080/02664763.2022.2053949>.
This package contains:
facilities for working with grouped data:
do
something to data stratifiedby
some variables.implementations of least-squares means, general linear contrasts, and
miscellaneous other utilities.
Generate point data for representing people within spatial data. This collects a suite of tools for creating simple dot density maps. Several functions from different spatial packages are standardized to take the same arguments so that they can be easily substituted for each other.
This package provides information on drug names (brand, generic and street) for drugs tracked by the DEA. There are functions that will search synonyms and return the drug names and types. The vignettes have extensive information on the work done to create the data for the package.
This package implements five methods proposed by Resnik, Schlicker, Jiang, Lin and Wang, respectively, for measuring semantic similarities among Disease ontology (DO) terms and gene products. Enrichment analyses including hypergeometric model and gene set enrichment analysis are also implemented for discovering disease associations of high-throughput biological data.
This package implements maximum likelihood methods for evaluating the durability of vaccine efficacy in a randomized, placebo-controlled clinical trial with staggered enrollment of participants and potential crossover of placebo recipients before the end of the trial. Lin, D. Y., Zeng, D., and Gilbert, P. B. (2021) <doi:10.1093/cid/ciab226> and Lin, D. Y., Gu, Y., Zeng, D., Janes, H. E., and Gilbert, P. B. (2021) <doi:10.1093/cid/ciab630>.
Kevin Dowd's book Measuring Market Risk is a widely read book in the area of risk measurement by students and practitioners alike. As he claims, MATLAB indeed might have been the most suitable language when he originally wrote the functions, but, with growing popularity of R it is not entirely valid. As Dowd's code was not intended to be error free and were mainly for reference, some functions in this package have inherited those errors. An attempt will be made in future releases to identify and correct them. Dowd's original code can be downloaded from www.kevindowd.org/measuring-market-risk/. It should be noted that Dowd offers both MMR2 and MMR1 toolboxes. Only MMR2 was ported to R. MMR2 is more recent version of MMR1 toolbox and they both have mostly similar function. The toolbox mainly contains different parametric and non parametric methods for measurement of market risk as well as backtesting risk measurement methods.
This package contains the heteroscedastic ANOVA tests for normal and two-parameter exponential distributed populations. For normal distributions, Alexander-Govern test by Alexandern and Govern (1994) <doi:10.2307/1165140>, Alvandi et al. Generalized F test by Alvandi et al. (2012) <doi:10.1080/03610926.2011.573160>, Approximate F test by Asiribo and Gurland (1990) <doi:10.1080/03610929008830427>, Box F test by Box (1954) <doi:10.1214/aoms/1177728786>, Brown-Forsythe test by Brown and Forsythe (1974) <do:10.2307/1267501>, B2 test by Ozdemir and Kurt (2006) <http://sjam.selcuk.edu.tr/sjam/article/view/174>, Cochran F test by Cochran (1937) <https://www.jstor.org/stable/pdf/2984123.pdf>, Fiducial Approach test by Li et al. (2011) <doi:10.1016/j.csda.2010.12.009>, Generalized F test by Weerahandi (1995) <doi:10.2307/2532947>, Johansen F test by Johansen (1980) <doi:10.1093/biomet/67.1.85>, Modified Brown-Forsythe test by Mehrotra (1997) <doi:10.1080/03610919708813431>, Modified Welch test by Hartung et al.(2002) <doi:10.1007/s00362-002-0097-8>, One-Stage test by Chen and Chen (1998) <doi:10.1080/03610919808813501>, One-Stage Range test by Chen and Chen (2000) <doi:10.1080/01966324.2000.10737505>, Parametric Bootstrap test by Krishnamoorhty et al.(2007) <doi:10.1016/j.csda.2006.09.039>, Permutation F test by Berry and Mielke (2002) <doi:10.2466/pr0.2002.90.2.495>, Scott-Smith test by Scott and Smith (1971) <doi:10.2307/2346757>, Welch test by Welch(1951) <doi:10.2307/2332579>, and Welch-Aspin test by Aspin (1948) <doi:10.1093/biomet/35.1-2.88>. These tests are used to test the equality of group means under unequal variance. Also, a modified version of Generalized F-test is improved to test the equality of non-normal group means under unequal variances and a revised version of Generalized F-test is given to test the equality of non-normal group means caused by skewness. Furthermore, it consists some procedures for testing equality of several two-parameter exponentially distributed population means under unequal scale parameters such as generalized p-value, parametric bootstrap and fiducial approach test by Malekzadeh and Jafari (2019) <doi:10.1080/03610918.2018.1538452>. There is also Hsieh test by Hsieh (1986) <doi:10.2307/1270452> for testing equality of location parameters of two-parameter exponentially distributed populations under unequal scale parameters.
This package provides a parallel backend for the %dopar% function using the Rmpi package.
This package provides a set of annotation maps describing the entire Disease Ontology.
Overload utils::'? to build unary and binary operators from existing functions, piping operators of different precedence, and flexible syntaxes.
This package provides a `.` object which can be used for unpacking assignments. For example, `.[rows, columns] <- dim(cars)` could be used to pull the number of rows and number of columns from `dim(cars)` into individual variables `rows` and `columns` in a single step.
This package provides functions to perform reproducible parallel foreach
loops, using independent random streams as generated by L'Ecuyer's combined multiple-recursive generator. It enables to easily convert standard %dopar%
loops into fully reproducible loops, independently of the number of workers, the task scheduling strategy, or the chosen parallel environment and associated foreach backend.
Finds the k nearest neighbours in a dataset of specified points, adding the option to wrap certain variables on a torus. The user chooses the algorithm to use to find the nearest neighbours. Two such algorithms, provided by the packages RANN <https://cran.r-project.org/package=RANN>, and nabor <https://cran.r-project.org/package=nabor>, are suggested.
This package provides a dimension reduction technique for outlier detection. DOBIN: a Distance based Outlier BasIs
using Neighbours, constructs a set of basis vectors for outlier detection. This is not an outlier detection method; rather it is a pre-processing method for outlier detection. It brings outliers to the fore-front using fewer basis vectors (Kandanaarachchi, Hyndman 2020) <doi:10.1080/10618600.2020.1807353>.
This package provides methods to apply decomposition-based relative importance analysis for R functions. This package supports the application of decomposition methods by providing lapply'- or Map'-like meta-functions that compute dominance analysis (Azen, R., & Budescu, D. V. (2003) <doi:10.1037/1082-989X.8.2.129>; Grömping, U. (2007) <doi:10.1198/000313007X188252>) an extension of Shapley value regression (Lipovetsky, S., & Conklin, M. (2001) <doi:10.1002/asmb.446>) based on the values returned from other functions.
Distances on dual-weighted directed graphs using priority-queue shortest paths (Padgham (2019) <doi:10.32866/6945>). Weighted directed graphs have weights from A to B which may differ from those from B to A. Dual-weighted directed graphs have two sets of such weights. A canonical example is a street network to be used for routing in which routes are calculated by weighting distances according to the type of way and mode of transport, yet lengths of routes must be calculated from direct distances.
This package provides a facility to generate efficient designs for order-of-additions experiments under pair-wise-order model, see Dennis K. J. Lin and Jiayu Peng (2019)."Order-of-addition experiments: A review and some new thoughts". Quality Engineering, 31:1, 49-59, <doi:10.1080/08982112.2018.1548021>. It also provides a facility to generate component orthogonal arrays under component position model, see Jian-Feng Yang, Fasheng Sun & Hongquan Xu (2020): "A Component Position Model, Analysis and Design for Order-of-Addition Experiments". Technometrics, <doi:10.1080/00401706.2020.1764394>.
doseR
package is a next generation sequencing package for sex chromosome dosage compensation which can be applied broadly to detect shifts in gene expression among an arbitrary number of pre-defined groups of loci. doseR
is a differential gene expression package for count data, that detects directional shifts in expression for multiple, specific subsets of genes, broad utility in systems biology research. doseR
has been prepared to manage the nature of the data and the desired set of inferences. doseR
uses S4 classes to store count data from sequencing experiment. It contains functions to normalize and filter count data, as well as to plot and calculate statistics of count data. It contains a framework for linear modeling of count data. The package has been tested using real and simulated data.