Learn R Programming

tigerstats (version 0.3.2)

DtrellHist: Dynamic Trellising (Histogram)

Description

A manipulative app that facilitates exploration of the distribution of a single numerical variable, conditioned 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 from var and cond are drawn.

Value

Graphical output.

Examples

Run this code
# NOT RUN {
if (require(manipulate)) DtrellHist(~dist|speed,data=cars) 
# }

Run the code above in your browser using DataLab