eda.shape | R Documentation |

Generate histogram, boxplot, density, and quartile plots.

eda.shape(x,qq=TRUE,main=NULL,xlab,...)

`x` |
numeric array. |

`qq` |
logical; for plotting quartile plot, default=TRUE. |

`main` |
character; main title for plots. |

`xlab` |
x axis label for histogram and density plots, y axis label for boxplot. If not provided, will default to name of object x. |

`...` |
additional graphical parameters to pass to the plot functions called within 'eda.shape'. |

This function is modified from the SPlus version of the same name, see references. Additional graphical parameters passed to 'eda.shape' are ignored if not applicable/accepted by all internally called plot functions to prevent warning messages and/or null plots. To suppress axis labeling pass ann=FALSE as additional argument.

Four plots on one page [mfrow = c(2, 2)]- histogram, boxplot, density, and quartile.

Wrapper functions for each internally called plot type strip graphical parameters that are not applicable to the specific plot type to prevent warnings and errors.

Garry Grabow glgrabow@ncsu.edu

TIBCO Spotfire S+ 8.2 2010. Guide to Statistics, vol. 1, p.124ff.

`eda.stats`

,`hist`

,
`boxplot`

,`density`

,
`qqnorm`

#generate and plot univariate normally distributed data require(graphics) x<-rnorm(25,1,0.25) eda.shape(x) #defaults #add main title, and pass additional parameters, "col" and #"notch""for notched boxplot eda.shape(x,main="my normal data",col="blue",notch=TRUE)

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.