July 12, 2020

Introduction

Generating Data

The data generates random values based on the number of points inputted by the user via the slider. This example shows a simulation of 100 points.

x <- rnorm(100, mean = 30, sd = 5)
y <- rnorm(100)
z <- 1:100
## [1] 24.60172 31.10556 36.76951 41.50897 18.66164 34.51571
## [1] -1.39470079 -0.38601704 -0.14178457  1.01506342  0.05969722  0.45938838

How it Works

Simply use the slider to adjust how many data points you want generated. The default value is 50 but you can choose between 1-100.

The Plot

Using the 5 points from the previous slide, this is the 3-D plot that is generated.