Examples: visualization, C++, networks, data cleaning, html widgets, ropensci.

Found 162 packages in 0.07 seconds

nph — by Robin Ristl, 3 years ago

Planning and Analysing Survival Studies under Non-Proportional Hazards

Piecewise constant hazard functions are used to flexibly model survival distributions with non-proportional hazards and to simulate data from the specified distributions. A function to calculate weighted log-rank tests for the comparison of two hazard functions is included. Also, a function to calculate a test using the maximum of a set of test statistics from weighted log-rank tests (MaxCombo test) is provided. This test utilizes the asymptotic multivariate normal joint distribution of the separate test statistics. The correlation is estimated from the data. These methods are described in Ristl et al. (2021) . Finally, a function is provided for the estimation and inferential statistics of various parameters that quantify the difference between two survival curves. Eligible parameters are differences in survival probabilities, log survival probabilities, complementary log log (cloglog) transformed survival probabilities, quantiles of the survival functions, log transformed quantiles, restricted mean survival times, as well as an average hazard ratio, the Cox model score statistic (logrank statistic), and the Cox-model hazard ratio. Adjustments for multiple testing and simultaneous confidence intervals are calculated using a multivariate normal approximation to the set of selected parameters.

robin — by Valeria Policastro, 7 months ago

ROBustness in Network

Assesses the robustness of the community structure of a network found by one or more community detection algorithm to give indications about their reliability. It detects if the community structure found by a set of algorithms is statistically significant and compares the different selected detection algorithms on the same network. robin helps to choose among different community detection algorithms the one that better fits the network of interest. Reference in Policastro V., Righelli D., Carissimo A., Cutillo L., De Feis I. (2021) < https://journal.r-project.org/archive/2021/RJ-2021-040/index.html>.

contsurvplot — by Robin Denz, a year ago

Visualize the Effect of a Continuous Variable on a Time-to-Event Outcome

Graphically display the (causal) effect of a continuous variable on a time-to-event outcome using multiple different types of plots based on g-computation. Those functions include, among others, survival area plots, survival contour plots, survival quantile plots and 3D surface plots. Due to the use of g-computation, all plot allow confounder-adjustment naturally. For details, see Robin Denz, Nina Timmesfeld (2023) .

quadform — by Robin K. S. Hankin, 8 months ago

Efficient Evaluation of Quadratic Forms

A range of quadratic forms are evaluated, using efficient methods. Unnecessary transposes are not performed. Complex values are handled consistently.

elliptic — by Robin K. S. Hankin, 6 years ago

Weierstrass and Jacobi Elliptic Functions

A suite of elliptic and related functions including Weierstrass and Jacobi forms. Also includes various tools for manipulating and visualizing complex functions.

freealg — by Robin K. S. Hankin, 5 months ago

The Free Algebra

The free algebra in R with non-commuting indeterminates. Uses 'disordR' discipline (Hankin, 2022, ). To cite the package in publications please use Hankin (2022) .

alluvial — by Michal Bojanowski, 8 years ago

Alluvial Diagrams

Creating alluvial diagrams (also known as parallel sets plots) for multivariate and time series-like data.

rakeR — by Phil Mike Jones, 7 years ago

Easy Spatial Microsimulation (Raking) in R

Functions for performing spatial microsimulation ('raking') in R.

dodgr — by Mark Padgham, 6 months ago

Distances on Directed Graphs

Distances on dual-weighted directed graphs using priority-queue shortest paths (Padgham (2019) ). 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.

ROOPSD — by Yoann Robin, a year ago

R Object Oriented Programming for Statistical Distribution

Statistical distribution in OOP (Object Oriented Programming) way. This package proposes a R6 class interface to classic statistical distribution, and new distributions can be easily added with the class AbstractDist. A useful point is the generic fit() method for each class, which uses a maximum likelihood estimation to find the parameters of a dataset, see, e.g. Hastie, T. and al (2009) . Furthermore, the rv_histogram class gives a non-parametric fit, with the same accessors that for the classic distribution. Finally, three random generators useful to build synthetic data are given: a multivariate normal generator, an orthogonal matrix generator, and a symmetric positive definite matrix generator, see Mezzadri, F. (2007) .