Scatterplot_3d: Interactive three-dimensional scatterlpot

Description Usage Arguments Details Author(s) Examples

Description

Takes any metric data and plots a three-dimensional scatterplot and a two-dimensional scatterplot.

Usage

1
Scatterplot_3d(data, n = 10, height = c(1500, 500))

Arguments

data

A data.frame object that is to be analyzed (only metric variables are shown)

n

A numeric value indicating the limit from what number of different values a variable is seen as categorical variable, all variables that have more than n different values are being treated as metric values

height

A two-dimensional numeric vector indicating the height of the shown three-dimensional and two-dimensional scatterplots

Details

This function produces an application that lets you plot a interactive three-dimensional scatterplot, you can decide what metric variables should be plotted. Next to the three-dimensional scatterplot there is a two-dimensional scatterplot of the first two dimensions of the three-dimensional scatterplot (1.Variable and 2. Variable). You can change the plotted angle interactively by clicking and brushing over the shown three-dimensional scatterplot with the cursor. You can press the little 'Play'-Button and it will automatically rotate the plot once. There is also a feature added in this application, which lets you condition both plots on a fourth variable. To enter this mode press the button called 'Condition plot only values conditioned on the value of a fourth variable. You can now set a value for the fourth variable with a slider. Only 30

Author(s)

Cornelius Fritz <cornelius.fritz@campus.lmu.de>

Examples

1
2
3

corneliusfritz/intervisu documentation built on May 13, 2019, 10:51 p.m.