marradistrees-package {marradistrees}R Documentation

Plots a Tree-Like Representation of a Numerical Variable (Marradi's Tree)

Description

Provides a single function plotting Marradi's trees: a graphical representation of a numerical variable for comparing the variable mean and standard deviation across subgroups. See A. Marradi "L'analisi monovariata" (1993, ISBN: 9788820496876).

Details

The DESCRIPTION file:

Package: marradistrees
Type: Package
Title: Plots a Tree-Like Representation of a Numerical Variable (Marradi's Tree)
Version: 1.0
Date: 2023-11-21
Authors@R: person("Massimo", "Cannas", role = c("aut", "cre"), email = "massimo.cannas@unica.it")
Maintainer: Massimo Cannas <massimo.cannas@unica.it>
Description: Provides a single function plotting Marradi's trees: a graphical representation of a numerical variable for comparing the variable mean and standard deviation across subgroups. See A. Marradi "L'analisi monovariata" (1993, ISBN: 9788820496876).
License: GPL-3
Author: Massimo Cannas [aut, cre]

Index of help topics:

marradistree            A function for plotting Marradi's trees.
marradistrees           Plots a Tree-Like Representation of a Numerical
                        Variable (Marradi's Tree)

Author(s)

Massimo Cannas [aut, cre]

Maintainer: Massimo Cannas <massimo.cannas@unica.it>

References

Alberto Marradi (1993), L'analisi Monovariata, Franco Angeli Editore, Milano (in Italian), ISBN: 9788820496876.

Examples

set.seed(123)  # an example with ten groups
m <- rnorm(10, mean = 5, sd = 1) # group means
s <- runif(10, min = 0, max = 2) # group standard deviations

marradistree(m, s)
marradistree(m, s, textv=TRUE)

[Package marradistrees version 1.0 Index]