limits

0th

Percentile

Generate correct scale type for specified limits

Generate correct scale type for specified limits

Keywords
internal
Usage
limits(lims, var)
Arguments
var
name of variable
limits
vector of limits
Aliases
  • limits
Examples
library(ggplot2) 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")
Documentation reproduced from package ggplot2, version 2.2.1, License: GPL-2 | file LICENSE

Community examples

Looks like there are no examples yet.