Skip to Content
R in a Nutshell
book

R in a Nutshell

by Joseph Adler
May 2012
Intermediate to advanced content levelIntermediate to advanced
768 pages
29h 21m
German
O'Reilly Verlag
Content preview from R in a Nutshell

Dichtediagramme

Wenn Sie die Verteilung einer Variablen lieber als durchgehende Linie statt als Ansammlung von Balken sehen möchten, können Sie das mit Dichtediagrammen realisieren. In lattice gibt es dafür die Funktion densityplot():

densityplot(x, data,
            allow.multiple = is.null(groups) || outer,
            outer = !is.null(groups),
            auto.key = FALSE,
            aspect = "fill",
            panel = lattice.getOption("panel.densityplot"),
            prepanel, scales, strip, groups, weights,
            xlab, xlim, ylab,  ylim,
            bw, adjust, kernel, window, width, give.Rkern,
            n = 50, from, to, cut, na.rm,
            drop.unused.levels = lattice.getOption("drop.unused.levels"),
            ...,
            lattice.options =  NULL,
            default.scales = list(),
            subscripts,
            subset)

Standardmäßig werden die Dichte-Panels eines Diagramms von der Funktion ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

R in a Nutshell

R in a Nutshell

Joseph Adler
Python-Tricks

Python-Tricks

Dan Bader
Data-Science-Crashkurs

Data-Science-Crashkurs

Steffen Herbold
MLOps – Kernkonzepte im Überblick

MLOps – Kernkonzepte im Überblick

Mark Treveil, Clément Stenac, Nicolas Omont, Kenji Lefèvre, Du Phan

Publisher Resources

ISBN: 9783868992854Purchase bookSupplemental Content