wideplot | R Documentation |
A wideplot is a grid of graphics where the graphics within each row corresponds to graphical representations of each one of the variables considered within a given dataset. The types of variables and the types of graphics are limited to those included in the specimen of graphics that require one input variable.
wideplot( data, dataclass = NULL, logical = NULL, ordered = NULL, factor = NULL, character = NULL, datetime = NULL, numeric = NULL, group = NULL, ncol = 7, label = "FALSE", dir = tempdir() )
data |
Data.frame. Default dataset to use for plot. Unquoted. If not already a data.frame, it should be first coerced to by as.data.frame(). |
dataclass |
Character vector. The types of data to be considered among the following:
|
logical |
Character vector. Graphics for logical variables among the following:
|
ordered |
Character vector. Graphics for ordered factor variables among the following:
|
factor |
Character vector. Graphics for Character variables among the following:
|
character |
Character vector. Graphics for character variables among the following:
|
datetime |
Character vector. Graphics for datetime variables among the following:
|
numeric |
Character vector. Graphics for numeric variables among the following:
|
group |
Quoted character. Group of prestablished graphics which marks represent:
|
ncol |
Numeric. Number of columns. An integer between 3 and 7. The fewer columns displayed, the larger the size of the resulting graphics, a feature that is especially useful if the scale labels dwarf the graphics area. |
label |
Logical. If 'TRUE' the output includes labels that show the names of the graphics that are being displayed. |
dir |
Directory in which the files are stored. |
Cause the side-effect of creating and displaying a temporary html file that includes a grid of graphics. The variables of a dataset are first grouped by the type of data, then, each variable is graphically represented into a range of different graphics in one row of the matrix.
Specimen for univariate data.
if (interactive()) { wideplot(sleep, dataclass = c("factor"), factor=c("point graph", "line graph", "tile plot"), numeric = c("point graph", "line graph", "stepped line graph")) }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.