Learn R Programming

dad (version 4.1.6)

print.mdsdd: Printing results of a multidimensional scaling analysis of discrete distributions

Description

Applies to an object of class "mdsdd". Prints the numeric results returned by the mdsdd function.

Usage

# S3 method for mdsdd
print(x, joint = FALSE, margin1 = FALSE, margin2 = FALSE,
        association = FALSE, ...)

Arguments

x

object of class "mdsdd", returned by the mdsdd function.

joint

logical. If TRUE, prints for each group the table of estimated joint distribution.

margin1

logical. If TRUE, prints for each group the data frame of estimated marginal distributions.

margin2

logical. If TRUE, prints for each group the data frame of the estimated marginal distributions per combination of two variables.

association

logical. If TRUE, prints for each group the matrix of the pairwise association measures of the variables.

...

optional arguments to print methods.

Author

Rachid Boumaza, Pierre Santagostini, Smail Yousfi, Sabine Demotes-Mainard

Details

By default, are printed the inertia explained by the nb.values (see mdsdd) first coordinates and the nb.factors (see mdsdd) coordinates of the densities.

See Also

mdsdd; plot.mdsdd; interpret.mdsdd

Examples

Run this code
# INSEE (France): Diploma x Socio professional group, seven years.
data(dspg)
xlista = dspg
a <- mdsdd(xlista)
print(a, joint = TRUE, margin1 = TRUE, margin2 = TRUE) 

Run the code above in your browser using DataLab