Learn R Programming

tigerstats (version 0.1.6)

DtrellHist: Dynamic Trellising (Histogram)

Description

A manipulative app that facilitates exploration of the distribution of a single numerical variable, conditoned upon the values of either a numerical variable or a factor.

Usage

DtrellHist(form,data)

Arguments

form
a formula of the form ~var|cond. var must be numeric; cond may be either numeric or factor.
data
A data frame fromm var and cond are drawn.

Value

  • Graphical output.

Examples

Run this code
if (require(manipulate)) DtrellHist(~dist|speed,data=cars)

Run the code above in your browser using DataLab