Learn R Programming

⚠️There's a newer version (4.1.6) of this package.Take me there.

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://forgemia.inra.fr/dad/dad.git", build_vignettes = TRUE)

Copy Link

Version

Install

install.packages('dad')

Monthly Downloads

429

Version

4.1.5

License

GPL (>= 2)

Maintainer

Pierre Santagostini

Last Published

November 22nd, 2024

Functions in dad (4.1.5)

association measures

Association measures between several categorical variables of a data frame
castles.nondated

Non dated Alsacian castles
as.foldert.data.frame

Data frame to foldert
association measures for folder

Association measures between categorical variables of the data frames of a folder
ddjensen

Divergence between probability distributions of discrete variables given samples
ddjeffreys

Divergence between probability distributions of discrete variables given samples
ddjensenpar

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

Distance between probability distributions of discrete variables given samples
ddhellingerpar

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

Three-Way Data Analysis Through Densities
cut.folder

In a folder: change numeric variables into factors
ddchisqsym

Distance between probability distributions of discrete variables given samples
ddchisqsympar

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

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

Distance between probability distributions of discrete variables given samples
departments

French departments and regions
distl2d

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

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

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

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

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

Distance between discrete probability distributions given the probabilities on their common support
discdd.misclass

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

Diploma x Socio professional group
folderh

Hierarchic folder of n data frames related in pairs by (n-1) keys
fhclustd

Hierarchic cluster analysis of probability densities
foldermtg

foldermtg
floribundity

Rose flowering
fdiscd.misclass

Misclassification ratio in functional discriminant analysis of probability densities.
fdiscd.predict

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

Diploma x Socio professional group by departement in 2015
fmdsd

Multidimensional scaling of probability densities
dstatis.inter

Dual STATIS method (interstructure stage)
folder

Folder of data sets
getcol.folder

Select columns in all elements of a folder
getcol.foldert

Select columns in all elements of a foldert
fpcat

Functional PCA of probability densities among time
hclustdd

Hierarchic cluster analysis of discrete probability distributions
getrow.foldert

Select rows in all elements of a foldert
getrow.folder

Select rows in all elements of a folder
hellinger

Hellinger distance between Gaussian densities
fpcad

Functional PCA of probability densities
foldert

Folder of data sets among time
hellingerpar

Hellinger distance between Gaussian densities given their parameters
interpret.fpcat

Scores of the "fpcat" 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

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

Class fdiscd.misclass
is.dstatis

Class dstatis
is.fdiscd.predict

Class fdiscd.predict
interpret.mdsdd

Scores of the mdsdd function vs. marginal probability distributions or association measures
is.discdd.predict

Class discdd.predict
is.fmdsd

Class fmdsd
interpret.fmdsd

Scores of the fmdsd function vs. moments of the densities
is.folderh

Class folderh
is.folder

Class folder
is.mdsdd

Class mdsdd
is.fhclustd

Class fhclustd
interpret.fpcad

Scores of the fpcad function vs. moments of the densities
jeffreys

Jeffreys measure between Gaussian densities
matddhellingerpar

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

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

Class foldermtg
matddchisqsym

Matrix of distances between discrete probability densities given samples
matdistl2dpar

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

Matrix of distances between discrete probability densities given samples
matdistl2dnorm

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

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

Matrix of divergences between discrete probability densities given samples
matddjeffreyspar

Matrix of divergences 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
mean.folder

Means of a folder of data sets
mdsdd

Multidimensional scaling of discrete probability distributions
matddlp

Matrix of distances between discrete probability distributions given samples
matddlppar

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

Branching order of vertices
plot.fpcat

Plotting scores of principal component analysis of density functions among time
plot.hclustdd

Plotting a hierarchical clustering of discrete distributions
mtgcomponents

Components of upper scale of a vertex
mtgplant1

Class foldermtg
plot.fpcad

Plotting scores of principal component analysis of density functions
matdistl2dnormpar

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

Class foldert
matjeffreys

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

Plotting a hierarchical clustering
matdistl2d

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

Class foldermtg
plot.mdsdd

Plotting scores of multidimensional scaling analysis of discrete distributions
l2d

\(L^2\) inner product of probability densities
print.fmdsd

Printing results of a multidimensional scaling analysis of probability densities
matjeffreyspar

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

Matrix of \(L^2\) inner products of probability densities
is.fpcad

Class fpcad
plot.fmdsd

Plotting scores of multidimensional scaling of density functions
print.foldermtg

Printing an object of class foldermtg
print.fdiscd.misclass

Printing results of discriminant analysis of probability density functions
matwassersteinpar

Matrix of 2-Wasserstein distances between Gaussian densities
l2dpar

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

Rose leaf and internode dynamics
rmrow.folder

Remove rows in all elements of a folder
plotframes

Plotting of two sets of variables
mathellinger

Matrix of Hellinger distances between Gaussian densities
print.fdiscd.predict

Printing results of discriminant analysis of probability density functions
rmrow.foldert

Remove rows in all elements of a foldert
summary.foldermtg

Summary of an object of class foldermtg
print.dstatis

Printing results of STATIS method (interstructure) analysis
summary.foldert

Summarize a foldert
mathellingerpar

Matrix of Hellinger distances between Gaussian densities given their parameters
summary.folder

Summarize a folder
mtgrank

Ranks of vertices in a decomposition
matipl2dpar

Matrix of \(L^2\) inner products of Gaussian densities
plot.dstatis

Plotting scores of STATIS method (interstructure) analysis
rmcol.foldert

Remove cols in all elements of a foldert
roses

Roses data
rmcol.folder

Remove columns in all elements of a folder
var.folder

Variance matrices of a folder of data sets
summary.folderh

Summarize a folderh
plot.foldert

Plotting data of a foldert
varietyleaves

Rose variety leaves
jeffreyspar

Jeffreys measure between Gaussian densities given their parameters
print.mdsdd

Printing results of a multidimensional scaling analysis of discrete distributions
kurtosis.folder

Kurtosis coefficients of a folder of data sets
read.mtg

Read a MTG (Multiscale Tree Graph) file
skewness.folder

Skewness coefficients of a folder of data sets
print.fhclustd

Printing results of a hierarchical clustering of probability density functions
sqrtmatrix

Square root of a symmetric, positive semi-definite matrix
print.hclustdd

Printing results of a hierarchical clustering of discrete distributions
matwasserstein

Matrix of 2-Wassterstein distance between Gaussian densities
print.fpcad

Printing results of a functional PCA of probability densities
wasserstein

2-Wasserstein distance between Gaussian densities
print.foldert

Printing an object of class foldert
print.discdd.misclass

Printing results of discriminant analysis of discrete probability distributions
print.discdd.predict

Printing results of discriminant analysis of discrete probability distributions
wassersteinpar

2-Wasserstein distance between Gaussian densities given their parameters
print.fpcat

Printing results of a functional PCA of probability densities among time
roseflowers

Rose flowers
roseleaves

Rose leaves
as.data.frame.folderh

Hierarchic folder to data frame
as.data.frame.foldert

foldert to data frame
as.folderh.foldermtg

Build a hierarchic folder from an object of class foldermtg
cor.folder

Correlation matrices of a folder of data sets
as.foldert

Coerce to a foldert
cut.data.frame

Change numeric variables into factors
as.folder.data.frame

Data frame to folder
as.folder

Coerce to a folder
as.folder.folderh

Hierarchic folder to folder
bandwidth.parameter

Parameter of the normal reference rule
as.data.frame.folder

Folder to data frame
as.foldert.array

Data frame to foldert
as.folderh

Coerce to a folderh
appendtofolderh

Adds a data frame to a folderh.
castles.dated

Dated Alsacian castles
castles

Alsacian castles by year of building