Learn R Programming

metaplot (version 0.8.4)

Data-Driven Plot Design

Description

Designs plots in terms of core structure. See 'example(metaplot)'. Primary arguments are (unquoted) column names; order and type (numeric or not) dictate the resulting plot. Specify any y variables, x variable, any groups variable, and any conditioning variables to metaplot() to generate density plots, boxplots, mosaic plots, scatterplots, scatterplot matrices, or conditioned plots. Use multiplot() to arrange plots in grids. Wherever present, scalar column attributes 'label' and 'guide' are honored, producing fully annotated plots with minimal effort. Attribute 'guide' is typically units, but may be encoded() to provide interpretations of categorical values (see '?encode'). Utility unpack() transforms scalar column attributes to row values and pack() does the reverse, supporting tool-neutral storage of metadata along with primary data. The package supports customizable aesthetics such as such as reference lines, unity lines, smooths, log transformation, and linear fits. The user may choose between trellis and ggplot output. Compact syntax and integrated metadata promote workflow scalability.

Copy Link

Version

Install

install.packages('metaplot')

Monthly Downloads

422

Version

0.8.4

License

GPL-3

Maintainer

Tim Bergsma

Last Published

February 18th, 2024

Functions in metaplot (0.8.4)

corsplom.data.frame

Correlated Scatterplot Matrix Method for Data Frame
corsplom_data_frame

Correlated Scatterplot Matrix Function for Data Frame
metOption

Get Metaplot Option with Partial Matching
metaplot

Metaplot
densplot.data.frame

Densplot Method for Data Frame
densplot_data_frame

Density Function for Data Frame
diag_pin

Calculate Pin Placement
diag_label

Format a Diagonal Label
dens_panel

Panel Function for Metaplot Density Plot
densplot

Density Plot
iso_prepanel

Prepanel Function for Isometric Axes
merge.list

Merge Two Lists
corsplom_panel_correlation

Correlation Panel Function for Metaplot Corsplom
metastats

Format GLM Statistics
metaplot_ref

Calculate Reference Values
multiplot

Arrange Multiple Trellis or GG Plots in a Grid
model

Execute Linear Model
metaplot.data.frame

Create Metaplot for Data Frame.
metaplot_key

Default Key
panel.meta_densityplot

Panel Function for Metaplot Density
panel_tile

Draw a Tile
pack

Pack Something
pack.data.frame

Capture Scalar Column Metadata as Column Attributes
plot.metaplot_gtable

Plot a Metaplot_gtable
setOption

Set or Reset Metaplot Options
scatter

Scatterplot
test_metaplot

Test Metaplot Variants
scatter.data.frame

Scatterplot Method for Data Frame
scatter_data_frame

Scatterplot Function for Data Frame
print.metaplot_gtable

Print a Metaplot_gtable
region

Calculate a Confidence Region
unpack.data.frame

Express Scalar Column Attributes as Column Metadata
unpack

Unpack Something
scatter_panel_ref

Calculate Panel Reference Values
tilestats

Format Tile Statistics
wikisym2plotmath

Convert Wiki Symbol to Plotmath
scatter_panel

Panel Function for Metaplot Scatterplot
tiles

Calculate Tile Limits
wikisym2plotmath_

Convert One Wiki Symbol to Plotmath
categorical_data_frame

Categorical Function for Data Frame
boxplot

Boxplots
boxplot.data.frame

Boxplot Method for Data Frame
axislabel

Generic Axis Label
categorical_panel

Panel Function for Metaplot Categorical Plot
corsplom_gg_correlation

Correlation GG Function for GG Metaplot Corsplom
corsplom_panel_scatter

Scatter Panel Function for Metaplot Corsplom
corsplom_panel_diagonal

Diagonal Panel Function for Metaplot Corsplom
categorical

Categorical Plot
corsplom_gg_scatter

Scatter GG Function for Metaplot Corsplom
corsplom_gg_diagonal

Diagonal GG Function for Metaplot Corsplom
boxplot_data_frame

Boxplot Function for Data Frame
axislabel.data.frame

Axis Label for Data Frame
categorical.data.frame

Categorical Method for Data Frame
boxplot_panel

Panel Function for Metaplot Boxplot
corsplom

Correlated Splom
cax

Calculate Categorical Axis Labels and Positions