Calculate limits for plotting

Share:

Description

This function retunrn a 2 elements vectors (numeric) which can be use as graph limits (xlim, ylim, rlim, etc.)

Usage

1
  compute.lim(x, na.rm = FALSE)

Arguments

x

'numeric' for which limits must be calculated

na.rm

boolean should NA values be removed before calculation ?

Value

numeric of length 2

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.