Description Usage Arguments Details Value Author(s) Examples
An applet which lets the user manipulate the bandwidth of a density plot and apply different transformations to examine how density plots reflect smoothed data.
1 |
data |
Numerical data to be used in the density plot. Only one variable of numerical data is allowed. If null, mDensity creates random data from the specified distribution. |
The user may specify the bandwidth (amount of smoothing) on density plot using the bandwidth slider. Transformations may be performed on the data using the transformation picker. These transformations include log, square root, rank, and inverse cosine. If data is null, three more options are available from the manipulate box. The distribution picker allows the user to choose the type of distribution for random data to be created from. The random seed slider picks the random seed. Number of points chooses the number of points to be generated as data.
Known bugs: Some transformations return NaNs and display an error in the console. The density plot does not plot those which are NaNs.
A function that allows the user to explore density plots and transformations on data interactively.
Andrew Rich (andrew.joseph.rich@gmail.com) and Daniel Kaplan (kaplan@macalester.edu)
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.