Generates data based on latent factor models. Data can be continuous, polytomous, dichotomous, or mixed. Skews, cross-loadings, wording effects, population errors, and local dependencies can be added. All parameters can be manipulated. Data categorization is based on Garrido, Abad, and Ponsoda (2011) <doi:10.1177/0013164410389489>.

Three methods are provided to estimate graphical models with latent variables: (1) Jin, Y., Ning, Y., and Tan, K. M. (2020) (preprint available); (2) Chandrasekaran, V., Parrilo, P. A. & Willsky, A. S. (2012) <doi:10.1214/11-AOS949>; (3) Tan, K. M., Ning, Y., Witten, D. M. & Liu, H. (2016) <doi:10.1093/biomet/asw050>.

Fit and simulate latent position and cluster models for statistical networks. See Krivitsky and Handcock (2008) <doi:10.18637/jss.v024.i05> and Krivitsky, Handcock, Raftery, and Hoff (2009) <doi:10.1016/j.socnet.2009.04.001>.

Executes arbitrary R or C functions some time after the current
    time, after the R execution stack has emptied. The functions are scheduled
    in an event loop.

Calculates and plots Handedness index (HI), absolute HI, mean HI and z-score which are commonly used indexes for the study of hand preference (laterality) in non-human primates.

Implements the Linear Approach to Threshold with Ergodic Rate 
    (LATER) model, which predicts distributions of reaction times and 
    summarises them with as little as two free parameters. Allows for easy 
    visualisation and comparison of datasets, along with fitting of datasets 
    using the LATER model.

Parses and converts LaTeX math formulas to R's plotmath
    expressions, used to enter mathematical formulas and symbols to be rendered as
    text, axis labels, etc. throughout R's plotting system.

Produces a PDF diff of two 'rmarkdown', 'quarto', Sweave or TeX 
  files, using the external 'latexdiff' utility.

Converts table-like objects to stand-alone PDF or PNG.
 Can be used to embed tables and arbitrary content in PDF or Word
 documents. Provides a low-level R interface for creating 'LaTeX'
 code, e.g. command() and a high-level interface for creating PDF
 documents, e.g. as.pdf.data.frame(). Extensive customization is
 available via mid-level functions, e.g. as.tabular(). See also 
 'package?latexpdf'. Support for PNG is experimental; see
 'as.png.data.frame'. Adapted from 'metrumrg' 
 <https://r-forge.r-project.org/R/?group_id=1215>.
 Requires a compatible installation of 'pdflatex',
 e.g. <https://miktex.org/>.