View source: R/pretty_axis_support.R
| units_x | R Documentation | 
pretty_axisThis function defines suitable default units (i.e., distances between sequential observations in a regular sequence) for a given input type (numbers or times).
units_x(iunits, x)
iunits | 
 A number or character. If   | 
x | 
 An object.  | 
If iunits is NULL, the function returns units = 5 for number inputs and units = "auto" for time inputs. Otherwise, the function returns iunits as inputted.
Edward Lavender
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.