limits | R Documentation |
Generate correct scale type for specified limits
limits(lims, var, call = caller_env())
lims |
vector of limits |
var |
name of variable |
ggplot2:::limits(c(1, 5), "x")
ggplot2:::limits(c(5, 1), "x")
ggplot2:::limits(c("A", "b", "c"), "x")
ggplot2:::limits(c("A", "b", "c"), "fill")
ggplot2:::limits(as.Date(c("2008-01-01", "2009-01-01")), "x")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.