limits: Generate correct scale type for specified limits

View source: R/limits.r

limitsR Documentation

Generate correct scale type for specified limits

Description

Generate correct scale type for specified limits

Usage

limits(lims, var)

Arguments

var

name of variable

limits

vector of limits

Examples

lwplot:::limits(c(1, 5), "x")
lwplot:::limits(c(5, 1), "x")
lwplot:::limits(c("A", "b", "c"), "x")
lwplot:::limits(c("A", "b", "c"), "fill")
lwplot:::limits(as.Date(c("2008-01-01", "2009-01-01")), "x")

eddelbuettel/lwplot documentation built on July 11, 2024, 1:24 p.m.