Learn R Programming

dad

The data consist of a set of variables measured on several groups of individuals. To each group is associated an estimated probability density function. The R package {dad} provides tools to create or manage such data and functional methods (principal component analysis, multidimensional scaling, cluster analysis, discriminant analysis...) for such probability densities.

Rachid Boumaza, Pierre Santagostini, Smail Yousfi and Sabine Demotes-Mainard, https://journal.r-project.org/archive/2021/RJ-2021-071/index.html, The R Journal (2021) 13:2, pages 179--207, DOI: 10.32614/RJ-2021-071

Installation

Install the package from the CRAN:

install.packages("dad")

Or from the repository, using the devtools package:

install.packages("devtools")
devtools::install_git("https://forge.inrae.fr/dad/dad.git", build_vignettes = TRUE)

Copy Link

Version

Install

install.packages('dad')

Monthly Downloads

285

Version

4.1.6

License

GPL (>= 2)

Maintainer

Pierre Santagostini

Last Published

June 10th, 2025

Functions in dad (4.1.6)

association measures

Association measures between several categorical variables of a data frame
cut.data.frame

Change numeric variables into factors
as.foldert.array

Data frame to foldert
castles

Alsacian castles by year of building
cor.folder

Correlation matrices of a folder of data sets
as.foldert.data.frame

Data frame to foldert
bandwidth.parameter

Parameter of the normal reference rule
association measures for folder

Association measures between categorical variables of the data frames of a folder
castles.nondated

Non dated Alsacian castles
castles.dated

Dated Alsacian castles
cut.folder

In a folder: change numeric variables into factors
ddchisqsympar

Distance between discrete probability distributions given the probabilities on their common support
dad-package

Three-Way Data Analysis Through Densities
ddjeffreyspar

Distance between discrete probability distributions given the probabilities on their common support
ddhellingerpar

Distance between discrete probability distributions given the probabilities on their common support
ddhellinger

Distance between probability distributions of discrete variables given samples
ddjeffreys

Divergence between probability distributions of discrete variables given samples
ddjensen

Divergence between probability distributions of discrete variables given samples
ddchisqsym

Distance between probability distributions of discrete variables given samples
ddjensenpar

Divergence between discrete probability distributions given the probabilities on their common support
distl2d

\(L^2\) distance between probability densities
discdd.predict

Predicting the class of a group of individuals with discriminant analysis of probability distributions.
ddlp

Distance between probability distributions of discrete variables given samples
ddlppar

Distance between discrete probability distributions given the probabilities on their common support
distl2dnorm

\(L^2\) distance between \(L^2\)-normed probability densities
dspg

Diploma x Socio professional group
discdd.misclass

Misclassification ratio in functional discriminant analysis of discrete probability distributions.
departments

French departments and regions
distl2dnormpar

\(L^2\) distance between \(L^2\)-normed Gaussian densities given their parameters
distl2dpar

\(L^2\) distance between Gaussian densities given their parameters
folder

Folder of data sets
floribundity

Rose flowering
fhclustd

Hierarchic cluster analysis of probability densities
dstatis.inter

Dual STATIS method (interstructure stage)
fdiscd.misclass

Misclassification ratio in functional discriminant analysis of probability densities.
folderh

Hierarchic folder of n data frames related in pairs by (n-1) keys
fdiscd.predict

Predicting the class of a group of individuals with discriminant analysis of probability densities.
fmdsd

Multidimensional scaling of probability densities
dspgd2015

Diploma x Socio professional group by departement in 2015
foldermtg

foldermtg
fpcat

Functional PCA of probability densities among time
getrow.foldert

Select rows in all elements of a foldert
foldert

Folder of data sets among time
getcol.folder

Select columns in all elements of a folder
hellingerpar

Hellinger distance between Gaussian densities given their parameters
hellinger

Hellinger distance between Gaussian densities
fpcad

Functional PCA of probability densities
getcol.foldert

Select columns in all elements of a foldert
hclustdd

Hierarchic cluster analysis of discrete probability distributions
getrow.folder

Select rows in all elements of a folder
interpret

Scores of fmdsd, dstatis, fpcad, or fpcat vs. moments, or scores of mdsdd vs. marginal distributions or association measures
interpret.fpcad

Scores of the fpcad function vs. moments of the densities
is.discdd.misclass

Class discdd.misclass
interpret.dstatis

Scores of the dstatis function vs. moments of the densities
interpret.fmdsd

Scores of the fmdsd function vs. moments of the densities
interpret.fpcat

Scores of the "fpcat" function vs. moments of the densities
interpret.mdsdd

Scores of the mdsdd function vs. marginal probability distributions or association measures
is.fdiscd.misclass

Class fdiscd.misclass
is.dstatis

Class dstatis
is.discdd.predict

Class discdd.predict
is.foldert

Class foldert
is.fdiscd.predict

Class fdiscd.predict
is.folder

Class folder
is.fmdsd

Class fmdsd
is.fhclustd

Class fhclustd
matddchisqsym

Matrix of distances between discrete probability densities given samples
jeffreys

Jeffreys measure between Gaussian densities
matddchisqsympar

Matrix of distances between discrete probability densities given the probabilities on their common support
jeffreyspar

Jeffreys measure between Gaussian densities given their parameters
is.mdsdd

Class mdsdd
kurtosis.folder

Kurtosis coefficients of a folder of data sets
matddjeffreyspar

Matrix of divergences between discrete probability densities given the probabilities on their common support
is.fpcad

Class fpcad
matddjeffreys

Matrix of distances between discrete probability densities given samples
is.foldermtg

Class foldermtg
matddhellinger

Matrix of distances between discrete probability densities given samples
is.folderh

Class folderh
mathellingerpar

Matrix of Hellinger distances between Gaussian densities given their parameters
matdistl2dnormpar

Matrix of \(L^2\) distances between \(L^2\)-normed Gaussian densities given their parameters
matddhellingerpar

Matrix of distances between discrete probability densities given the probabilities on their common support
matddjensenpar

Matrix of divergences between discrete probability densities given the probabilities on their common support
matdistl2dpar

Matrix of \(L^2\) distances between Gaussian densities given their parameters
mathellinger

Matrix of Hellinger distances between Gaussian densities
matddjensen

Matrix of divergences between discrete probability densities given samples
matddlppar

Matrix of distances between discrete probability densities given the probabilities on their common support
matddlp

Matrix of distances between discrete probability distributions given samples
l2d

\(L^2\) inner product of probability densities
l2dpar

\(L^2\) inner product of Gaussian densities given their parameters
matjeffreys

Matrix of the Jeffreys measures (symmetrised Kullback-Leibler divergences) between Gaussian densities
matwasserstein

Matrix of 2-Wassterstein distance between Gaussian densities
matwassersteinpar

Matrix of 2-Wasserstein distances between Gaussian densities
matdistl2dnorm

Matrix of \(L^2\) distances between \(L^2\)-normed probability densities
matdistl2d

Matrix of \(L^2\) distances between probability densities
matipl2dpar

Matrix of \(L^2\) inner products of Gaussian densities
matipl2d

Matrix of \(L^2\) inner products of probability densities
matjeffreyspar

Matrix of Jeffreys measures (symmetrised Kullback-Leibler divergences) between Gaussian densities
plot.foldert

Plotting data of a foldert
plot.fpcad

Plotting scores of principal component analysis of density functions
plot.fpcat

Plotting scores of principal component analysis of density functions among time
mtgorder

Branching order of vertices
mtgcomponents

Components of upper scale of a vertex
plot.hclustdd

Plotting a hierarchical clustering of discrete distributions
print.fdiscd.predict

Printing results of discriminant analysis of probability density functions
mean.folder

Means of a folder of data sets
mdsdd

Multidimensional scaling of discrete probability distributions
plot.fmdsd

Plotting scores of multidimensional scaling of density functions
plot.fhclustd

Plotting a hierarchical clustering
print.discdd.misclass

Printing results of discriminant analysis of discrete probability distributions
mtgplant2

Class foldermtg
plot.mdsdd

Plotting scores of multidimensional scaling analysis of discrete distributions
mtgplant1

Class foldermtg
print.fdiscd.misclass

Printing results of discriminant analysis of probability density functions
print.discdd.predict

Printing results of discriminant analysis of discrete probability distributions
plotframes

Plotting of two sets of variables
print.dstatis

Printing results of STATIS method (interstructure) analysis
rmrow.folder

Remove rows in all elements of a folder
rmrow.foldert

Remove rows in all elements of a foldert
print.fhclustd

Printing results of a hierarchical clustering of probability density functions
print.fpcat

Printing results of a functional PCA of probability densities among time
print.hclustdd

Printing results of a hierarchical clustering of discrete distributions
mtgrank

Ranks of vertices in a decomposition
print.mdsdd

Printing results of a multidimensional scaling analysis of discrete distributions
read.mtg

Read a MTG (Multiscale Tree Graph) file
summary.foldermtg

Summary of an object of class foldermtg
print.fmdsd

Printing results of a multidimensional scaling analysis of probability densities
rmcol.folder

Remove columns in all elements of a folder
summary.folder

Summarize a folder
rmcol.foldert

Remove cols in all elements of a foldert
plot.dstatis

Plotting scores of STATIS method (interstructure) analysis
print.fpcad

Printing results of a functional PCA of probability densities
print.foldermtg

Printing an object of class foldermtg
skewness.folder

Skewness coefficients of a folder of data sets
print.foldert

Printing an object of class foldert
sqrtmatrix

Square root of a symmetric, positive semi-definite matrix
var.folder

Variance matrices of a folder of data sets
roseflowers

Rose flowers
summary.folderh

Summarize a folderh
varietyleaves

Rose variety leaves
wasserstein

2-Wasserstein distance between Gaussian densities
roseleaves

Rose leaves
wassersteinpar

2-Wasserstein distance between Gaussian densities given their parameters
summary.foldert

Summarize a foldert
rosephytomer

Rose leaf and internode dynamics
roses

Roses data
as.foldert

Coerce to a foldert
as.data.frame.folder

Folder to data frame
as.folderh

Coerce to a folderh
as.folderh.foldermtg

Build a hierarchic folder from an object of class foldermtg
as.folder.data.frame

Data frame to folder
as.data.frame.folderh

Hierarchic folder to data frame
appendtofolderh

Adds a data frame to a folderh.
as.data.frame.foldert

foldert to data frame
as.folder.folderh

Hierarchic folder to folder
as.folder

Coerce to a folder