sdprism2d: Visualizing the Standard Deviation as the Size of a Prism

View source: R/SDPrism2D.R

sdprism2dR Documentation

Visualizing the Standard Deviation as the Size of a Prism

Description

We visualize the standard deviation of a data set as the size of a prism whose volume equals the total volume of several prisms made from the Empirical Cumulative Distribution Function.

Usage

sdprism2d(data, hlim = NULL, xyscale = NULL)

Arguments

data

The data that a user inputs, usually a vector of values.

hlim

Optional, 4 by default. The height limit for the plot of step 2, step3, and step 4.

xyscale

Optional, 4 by default. The ratio of scales between the x-axis and the y-axis.

Value

No return value, the function will open a new window and display the graphs of the 4 steps of visualizing the standard deviation.

Examples

  sdprism2d(c(10,18,23,30,36),4,4)

SDPrism2D documentation built on Sept. 21, 2022, 9:10 a.m.