ggInterval_3Dscatter {ggESDA}R Documentation

3D scatter plot for interval data

Description

Visualize the three continuous variable distribution by collecting all vertices in each interval to form a shape of cube.Also show the difference between each group.

Usage

ggInterval_3Dscatter(data = NULL,mapping = aes(NULL),scale=FALSE)

Arguments

data

A ggSDA object. It can also be either RSDA object or classical data frame, which will be automatically convert to ggSDA data.

mapping

Set of aesthetic mappings created by aes() or aes_(). If specified and inherit. aes = TRUE (the default), it is combined with the default mapping at the top level of the plot. You must supply mapping if there is no plot mapping. It is the same as the mapping of ggplot2.

scale

A boolean variable,TRUE, standardlize data. FALSE, not standardlize. If variance is too large(or small) or the difference between two variables are too large,it will be distortion or unseeable,which may happen in different units or others. So, a standardlize way is necessary.

Value

Return a ggplot2 object (It will still be 2-Dimension).

Examples

ggInterval_3Dscatter(facedata[1:5, ], aes(x = BC, y = EH, z = GH))


[Package ggESDA version 0.2.0 Index]