### Subversion checkout URL

You can clone with HTTPS or Subversion.

Fetching contributors…

Cannot retrieve contributors at this time

file 42 lines (36 sloc) 1.18 kb
 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 \name{ggfluctuation}\alias{ggfluctuation}\title{Create a fluctuation plot.}\usage{  ggfluctuation(table, type = "size", floor = 0,    ceiling = max(table$freq, na.rm = TRUE))}\arguments{ \item{table}{a table of values, or a data frame with three columns, the last column being frequency} \item{type}{"size", or "colour" to create traditional heatmap} \item{floor}{don't display cells smaller than this value} \item{ceiling}{round cells to at most this value} \item{na.rm}{If \code{TRUE}, silently remove missing values.}}\description{ A fluctutation diagram is a graphical representation of a contingency table. This function only supports 2D contingency tables at present but extension to higher dimensions should be relatively straightforward.}\details{ With the default size fluctuation diagram, area is proportional to the count (length of sides proportional to sqrt(count)).}\examples{\dontrun{ggfluctuation(table(movies$Action, movies$Comedy))ggfluctuation(table(movies$Action, movies$mpaa))ggfluctuation(table(movies$Action, movies$Comedy), type="colour")ggfluctuation(table(warpbreaks$breaks, warpbreaks\$tension))}}
Something went wrong with that request. Please try again.