* Social Mixing Matrices for Infectious Disease Modelling* (

**socialmixr**)

Provides methods for sampling contact matrices from diary data for use in infectious disease modelling, as discussed in Mossong et al. (2008) <doi:10.1371/journal.pmed.0050074>.

*(*

**Wave Function Representation of Real Distributions****wavefunction**)

Real probability distributions can be represented as the square of an orthogonal sum in the Hermite basis. This representation is formally similar to the representation of quantum mechanical states as wave functions, whose squared modulus is a probability density. This is described in more detail in ‘Wave function representation of probability distributions,’ by Madeleine B. Thompson <arXiv:1712.07764>. This package provides a reference implementation of the technique.

*(*

**Partially Censored Regression Models Based on Heavy-Tailed Distributions****PartCensReg**)

It estimates the parameters of a partially censored regression model via maximum penalized likelihood through a iterative EM-type algorithm. The model must belong to the semi-parametric family, including a parametric and nonparametric component. The error term considered belongs to the scale-mixture of normal (SMN) distribution, that includes well-known heavy tails distributions as the student’s-t distribution among others. To examine the performance of the fitted model, case-deletion and local influence techniques are provided to show its robust aspect against outlying and influential observations. This work is based in Ferreira, C. S., & Paula, G. A. (2017) <doi:10.1080/02664763.2016.1267124> but considering the SMN family.

*(*

**Analysis of Physiologically Structured Population Models****PSPManalysis**)

Performs demographic, bifurcation and evolutionary analysis of physiologically structured population models, which is a class of models that consistently translates continuous-time models of individual life history to the population level. A model of individual life history has to be implemented specifying the individual-level functions that determine the life history, such as development and mortality rates and fecundity. M.A. Kirkilionis, O. Diekmann, B. Lisser, M. Nool, B. Sommeijer & A.M. de Roos (2001) <doi:10.1142/S0218202501001264>. O.Diekmann, M.Gyllenberg & J.A.J.Metz (2003) <doi:10.1016/S0040-5809(02)00058-8>. A.M. de Roos (2008) <doi:10.1111/j.1461-0248.2007.01121.x>.

*(*

**Cluster and Merge Similar Values Within a Character Vector****refinr**)

These functions take a character vector as input, identify and cluster similar values, and then merge clusters together so their values become identical. The functions are an implementation of the key collision and ngram fingerprint algorithms from the open source tool Open Refine <http://…/>. More info on key collision and ngram fingerprint can be found here <https://…/Clustering-In-Depth>.